如何在自己的透视图(Perspective)里面加入eclipse自带视图,如Project Explorer视图
// 在当前视图上 window/show view 上的东西
layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW); layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST); layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS); layout.addShowViewShortcut(IPageLayout.ID_PROBLEM_VIEW);
layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET); layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
}
private void defineLayout(IPageLayout layout) {
IFolderLayout topLeft = layout.createFolder("topLeft",
IPageLayout.LEFT, 0.25f, IPageLayout.ID_EDITOR_AREA);
topLeft.addView(IPageLayout.ID_PROJECT_EXPLORER);
IFolderLayout bottomLeft = layout.createFolder(
"bottomLeft", IPageLayout.BOTTOM, (float) 0.50,//$NON-NLS-1$ "topLeft");//$NON-NLS-1$
bottomLeft.addView(IConsoleConstants.ID_CONSOLE_VIEW);
layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, 0.25f, IPageLayout.ID_EDITOR_AREA);
}
}
透视图的切换【Perspective】 方法二: 可以通过IDE的右上方的工具栏图形化按钮 ...完成视图的添加。 http://www.pgxxgc.com 常用视图【Project Explorer】 对...
(Preferences) 透视图(常用窗口的组合)(Perspective) web tools platform (web...(Project Explorer); 包视图:以java项目的结构方式显示,可以在此视图下进行许多...
如项目浏览器(ProjectExplorer) 2.5 透视图(Perspective) 透视图定义了工作台...Project 指定服务器(Target Runtime),请参考附录:为 Eclipse 添加 Server 运行...
另外一个概念是“Perspective”,中文翻译是“透视图(或者观察点)”。所谓 Per...“Demo”project,选择Run As,选择Eclipse Application,就可以看到一个最简单的RCP...
2.1.1 Workbench的概念 2.1.2 透视图Perspective 在Eclipse的Workbench内,...2.1.4 视图View 2.1.5 项目浏览器视图Project Explorer 项目浏览视图是最...
透视图(Perspective) 透视图定义了工作台上的一组视图(views)和编辑器的初始...如项目浏览器(ProjectExplorer) 6 Eclipse 开发开发工具使用 3.6. 项目(Project...
透视图(Perspective)切换器:位于工具栏 最右侧的是...项目(Project) ? Eclipse 中所有的可以编译运行的...或者在 Package Explorer 项目节点上右键点击 选 ?...
在Eclipse菜单 中选择Window->Open Perspective,可以...选中单选按钮“Create project from existing source”...或者在Package Explorer视图中 右键选中项目后选择New...
图 22:应用你的选择 UML Project 工件应当装载至 ...(被重命名为 Explorer 视图和 Diagram 视图中警告的...(点击 Windows > Open Perspective > Modeling) 。...
3 透视图(Perspective)切换器位于工具栏最右侧的...常见的视图及其功能: Package Explorer Outline Tasks...(Project) Eclipse 中所有的可以编译运行的资源必须...
热门文档