📄 perspective.java
字号:
package cn.work.zdj.app;import org.eclipse.ui.IPageLayout;import org.eclipse.ui.IPerspectiveFactory;import cn.work.zdj.sys.IAppConstants;public class Perspective implements IPerspectiveFactory { public void createInitialLayout(IPageLayout layout) { String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.setFixed(true); layout.addStandaloneView(IAppConstants.OLD_ZDJ_VIEW_ID, true, IPageLayout.LEFT, 0.22f, editorArea); layout.getViewLayout(IAppConstants.OLD_ZDJ_VIEW_ID).setCloseable(false); layout.getViewLayout(IAppConstants.OLD_ZDJ_VIEW_ID).setMoveable(false); layout.addView(IAppConstants.INPUT_ZDJ_VIEW_ID, IPageLayout.RIGHT, 0.78f, editorArea); layout.getViewLayout(IAppConstants.INPUT_ZDJ_VIEW_ID).setCloseable(false); layout.getViewLayout(IAppConstants.INPUT_ZDJ_VIEW_ID).setMoveable(false); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -