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

📄 perspective.java

📁 eclipse rcp 项目实例
💻 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 + -