📄 googleperspective.java
字号:
/*
* Created on 2004-9-10
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.xqtu.google;
/**
* @author limeiyong
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import com.xqtu.google.views.BrowserView;
import com.xqtu.google.views.SearchView;
public class GooglePerspective implements IPerspectiveFactory {
public static final String ID = "com.xqtu.google.GooglePerspective";
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);
layout.addView(SearchView.ID, IPageLayout.BOTTOM, new Float(0.60)
.floatValue(), IPageLayout.ID_EDITOR_AREA);
layout.addView(BrowserView.ID, IPageLayout.TOP, new Float(0.40)
.floatValue(), IPageLayout.ID_EDITOR_AREA);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -