?? perspective.java
字號:
package com.niis.myprice.frame;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import com.niis.myprice.views.KindTreeView;
import com.niis.myprice.views.WelcomView;
public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);
String editorArea = layout.getEditorArea();
layout.addStandaloneView(KindTreeView.ID,false, IPageLayout.LEFT, 0.25f, editorArea);
// layout.addView(KindTreeView.ID, IPageLayout.LEFT, 0.25f, editorArea);
layout.addView(WelcomView.ID, IPageLayout.RIGHT, 0.75f, editorArea);
// layout.addView(KindView.ID, IPageLayout.RIGHT, 0.25f, editorArea);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -