myperspective.java
来自「基于JAVA RCP的应用, 在代码中可以学习到editor, view, pe」· Java 代码 · 共 17 行
JAVA
17 行
package com.fengmanfei.myrcp;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import com.fengmanfei.myrcp.views.AnotherView;
import com.fengmanfei.myrcp.views.SampleView;
public class MyPerspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
layout.addStandaloneView(SampleView.ID, true, IPageLayout.LEFT, 0.45f,editorArea);
layout.addStandaloneView(AnotherView.ID, true, IPageLayout.BOTTOM,0.45f, editorArea);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?