文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > 如何在自己的透视图(Perspective)里面加入eclipse自带视图,如Project Explorer视图
侵权投诉

如何在自己的透视图(Perspective)里面加入eclipse自带视图,如Project Explorer视图

如何在自己的透视图(Perspective)里面加入eclipse自带视图,如Project Explorer视图

如何在自己的透视图(Perspective)里面加入eclipse自带视图,如Project Explorer视图

呵呵 不好意思, 这里我先前理解错了,加入eclipse自带视图直接

addView("org.eclipse.ui.views.ResourceNavigator");就可以了

下面我先前理解错了,不过有些代码对我还有点价值,这里也不删除了 大家见谅!!!

由于这个是用于自己记忆的文章,这里写的可能粗略了点,大家见谅,如果看起来不太理解大家可以直接查看jdk 源码中org.eclipse.ui.ide.application的源码,里面代码很少,不难理 解,point="org.eclipse.ui.perspectives"这个扩展点便是了。

<extension

point="org.eclipse.ui.perspectives">

<perspective

name="%Perspective.resourcePerspective"

icon="$nl$/icons/full/eview16/resource_persp.gif"

class="org.eclipse.ui.internal.ide.application.ResourcePerspective"

id="org.eclipse.ui.resourcePerspective">

<description>

%Perspective.resourceDescription

</description>

</perspective>

</extension>

<extension

point="org.eclipse.ui.perspectiveExtensions">

<perspectiveExtension

targetID="org.eclipse.ui.resourcePerspective">

//这里可以查看扩展点API,org.eclipse.ui.perspectiveExtensions扩展点,id - 将添加至透视图的“导航”菜单的“显示在...”提示器的视图的唯一标识。

<showInPart

id="org.eclipse.ui.navigator.ProjectExplorer"> </showInPart>

</perspectiveExtension>

</extension>

第1页

你可能喜欢

  • 建筑透视图
  • 数据透视图
  • 数据透视表
  • 透视学习
  • 透视图的画法
  • 透视表
  • 数据透视表练习

热门文档

相关文档

  • 2011_Eclipse的配置与使用

    透视图的切换【Perspective】 方法二: 可以通过IDE的右上方的工具栏图形化按钮 ...完成视图的添加。 http://www.pgxxgc.com 常用视图【Project Explorer】 对...

  • eclipse图解

    (Preferences) 透视图(常用窗口的组合)(Perspective) web tools platform (web...(Project Explorer); 包视图:以java项目的结构方式显示,可以在此视图下进行许多...

  • Eclipse开发工具使用

    如项目浏览器(ProjectExplorer) 2.5 透视图(Perspective) 透视图定义了工作台...Project 指定服务器(Target Runtime),请参考附录:为 Eclipse 添加 Server 运行...

  • 极好的Eclipse_RCP零基础学习(带图解)

    另外一个概念是“Perspective”,中文翻译是“透视图(或者观察点)”。所谓 Per...“Demo”project,选择Run As,选择Eclipse Application,就可以看到一个最简单的RCP...

  • 第2章:快速入门

    2.1.1 Workbench的概念 2.1.2 透视图Perspective 在Eclipse的Workbench内,...2.1.4 视图View 2.1.5 项目浏览器视图Project Explorer 项目浏览视图是最...

  • Eclipse 开发工具使用(文字)

    透视图(Perspective) 透视图定义了工作台上的一组视图(views)和编辑器的初始...如项目浏览器(ProjectExplorer) 6 Eclipse 开发开发工具使用 3.6. 项目(Project...

  • 第二讲 Eclipse+MyEclipse的使用

    透视图(Perspective)切换器:位于工具栏 最右侧的是...项目(Project) ? Eclipse 中所有的可以编译运行的...或者在 Package Explorer 项目节点上右键点击 选 ?...

  • 项目1-任务4

    在Eclipse菜单 中选择Window->Open Perspective,可以...选中单选按钮“Create project from existing source”...或者在Package Explorer视图中 右键选中项目后选择New...

  • Eclipse与ClearCase结合使用方法

    图 22:应用你的选择 UML Project 工件应当装载至 ...(被重命名为 Explorer 视图和 Diagram 视图中警告的...(点击 Windows > Open Perspective > Modeling) 。...

  • Eclipse集成开发环境介绍

    3 透视图(Perspective)切换器位于工具栏最右侧的...常见的视图及其功能: Package Explorer Outline Tasks...(Project) Eclipse 中所有的可以编译运行的资源必须...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email