⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perspective.java

📁 一个简单的CellEditor的例子 希望给学习java的朋友一点帮助
💻 JAVA
字号:
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);        }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -