?? perspective.java
字號(hào):
package com.intotherain.examples.SimpleCellEditor;import org.eclipse.ui.IFolderLayout;import org.eclipse.ui.IPageLayout;import org.eclipse.ui.IPerspectiveFactory;import org.eclipse.ui.IViewLayout;import com.intotherain.examples.SimpleCellEditor.view.MyTableView;public class Perspective implements IPerspectiveFactory { public void createInitialLayout(IPageLayout layout) { IViewLayout view; String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.setFixed(true); IFolderLayout topright = layout.createFolder("topright", IPageLayout.LEFT, 0.25f, editorArea); topright.addView(MyTableView.ID); view = layout.getViewLayout(MyTableView.ID); view.setCloseable(false); IFolderLayout bottomRight = layout.createFolder( "bottomRight", IPageLayout.BOTTOM, 0.6f, MyTableView.ID); bottomRight.addView("org.eclipse.ui.views.PropertySheet"); view = layout.getViewLayout("org.eclipse.ui.views.PropertySheet"); view.setCloseable(false); }}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -