📄 myperspective.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -