Difference between revisions of "Eclipse Plugin Development"

From Eclipsepedia

Jump to: navigation, search
 
Line 47: Line 47:
  
 
== 实例部分 ==
 
== 实例部分 ==
=== Editor ===
+
=== Editors ===
 
编辑器:org.eclipse.ui.editors <br />
 
编辑器:org.eclipse.ui.editors <br />
  
=== View ===
+
=== Views ===
 
视图:org.eclipse.ui.views <br />  
 
视图:org.eclipse.ui.views <br />  
  
=== Action ===  
+
=== Dialogs ===
操作集:org.eclipse.ui.actionSets <br />
+
弹出菜单:org.eclipse.ui.popupMenus <br />
+
 
首选项页:org.eclipse.ui.preferencePages <br />  
 
首选项页:org.eclipse.ui.preferencePages <br />  
 
属性页:org.eclipse.ui.propertyPages <br />
 
属性页:org.eclipse.ui.propertyPages <br />
Line 61: Line 59:
 
导入向导:org.eclipse.ui.importWizards <br />
 
导入向导:org.eclipse.ui.importWizards <br />
 
导出向导:org.eclipse.ui.exportWizards <br />
 
导出向导:org.eclipse.ui.exportWizards <br />
 +
 +
=== Actions ===
 +
操作集:org.eclipse.ui.actionSets <br />
 +
弹出菜单:org.eclipse.ui.popupMenus <br />
 +
 +
=== Others ===
 +
帮助文档:org.eclipse.help.toc <br />
  
 
== 高级部分 ==
 
== 高级部分 ==

Latest revision as of 04:58, 19 July 2006

Eclipse 插件开发将从以下几个方面论述,基础部分是对Eclipse SDK 的扩展,实例部分举例说明如何进行插件开发,高级部分是对WTP 的扩展及基于GMF 框架的开发。

Contents

[edit] 基础部分

[edit] 平台对象

PlatformUI CN - SWT /JFace /Workbench
Workbench decomposed.png

[edit] 产品结构

产品 Product、 Update Site 、 RCP Application
功能 Feature、Feature Patch
插件 Plugin、Fragment

+ ${eclipse.install.home}
|
++++ configuration/**, config.ini
|
++++ features/*.*
|
++++ plugins/yours, *.*
|
++++ links/**, *.link
|
++++ workspaces/.metadata, *.*
|
++++ .eclipseproduct
|
++++ eclipse.exe
|
++++ eclipse.ini

[edit] 插件结构

+ ${yourdomain.project.component}
|
++++ src/*.java, *.properties
|
++++ lib/*.jar
|
++++ templ/*.*
|
++++ icons/*.gif, *.jpg
|
++++ .project, .classpath
|
++++ META-INF/MANIFEST.MF
|
++++ plugin.xml, build.properties

[edit] 实例部分

[edit] Editors

编辑器:org.eclipse.ui.editors

[edit] Views

视图:org.eclipse.ui.views

[edit] Dialogs

首选项页:org.eclipse.ui.preferencePages
属性页:org.eclipse.ui.propertyPages
向导:org.eclipse.ui.newWizards
导入向导:org.eclipse.ui.importWizards
导出向导:org.eclipse.ui.exportWizards

[edit] Actions

操作集:org.eclipse.ui.actionSets
弹出菜单:org.eclipse.ui.popupMenus

[edit] Others

帮助文档:org.eclipse.help.toc

[edit] 高级部分

[edit] WTP

Use Webtools WTP CN
How To Extends WTP CN

[edit] GMF

GMF Introduction CN
Development Based GMF CN

[edit] 相关资源