📄 perspective.java
字号:
package simplebrowser;import org.eclipse.ui.IPageLayout;import org.eclipse.ui.IPerspectiveFactory;import simplebrowser.views.BrowserView;import simplebrowser.views.SampleView;public class Perspective implements IPerspectiveFactory { public void createInitialLayout(IPageLayout layout) { // 关掉Editor Area , 如果没有用到Editor的话, 请执行这一句 // 否则在透视图中会有一片空白. layout.setEditorAreaVisible(false); // 添加Browser视图 layout.addView( BrowserView.ID, IPageLayout.TOP, IPageLayout.RATIO_MAX, IPageLayout.ID_EDITOR_AREA ); // 添加SampleView视图 /* layout.addView( "simplebrowser.views.SampleView", IPageLayout.TOP, IPageLayout.RATIO_MAX, IPageLayout.ID_EDITOR_AREA ); */ }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -