Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Eclipse Plugin Development"

 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== 基础部分 ==
 
== 基础部分 ==
 
=== 平台对象 ===
 
=== 平台对象 ===
SWT /JFace /Workbench <br />
+
[[PlatformUI CN]] - SWT /JFace /Workbench <br />
 
[[Image:workbench_decomposed.png]] <br />
 
[[Image:workbench_decomposed.png]] <br />
  
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 />
  
 
== 高级部分 ==
 
== 高级部分 ==
 
=== WTP ===
 
=== WTP ===
[[Use Webtools WTP]](CN) <br />
+
[[Use Webtools WTP]] CN <br />
[[How To Extends WTP]](CN) <br />
+
[[How To Extends WTP]] CN <br />
  
 
=== GMF ===
 
=== GMF ===
[[GMF Introduction]](CN) <br />
+
[[GMF Introduction]] CN <br />
[[Development Based GMF]](CN) <br />
+
[[Development Based GMF]] CN <br />
  
 
== 相关资源 ==
 
== 相关资源 ==
Line 77: Line 82:
 
* [http://www.eclipse.org/org/councils/roadmap.php Eclipse Roadmap]
 
* [http://www.eclipse.org/org/councils/roadmap.php Eclipse Roadmap]
 
* [http://dev.eclipse.org/conventions.html Eclipse 开发规范]
 
* [http://dev.eclipse.org/conventions.html Eclipse 开发规范]
* [http://www.eclipse.org/articles/Article-UI-Guidelines/index_cn.html Eclipse UI Guidelines](CN)
+
* [http://www.eclipse.org/articles/Article-UI-Guidelines/index_cn.html Eclipse UI Guidelines] CN
* [http://www-128.ibm.com/developerworks/cn/views/opensource/articles.jsp?view_by=search&search_by=Eclipse IBM’s Eclipse 相关文献](CN)
+
* [http://www-128.ibm.com/developerworks/cn/views/opensource/articles.jsp?view_by=search&search_by=Eclipse IBM’s Eclipse 相关文献] CN

Latest revision as of 04:58, 19 July 2006

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

基础部分

平台对象

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

产品结构

产品 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

插件结构

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

实例部分

Editors

编辑器:org.eclipse.ui.editors

Views

视图:org.eclipse.ui.views

Dialogs

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

Actions

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

Others

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

高级部分

WTP

Use Webtools WTP CN
How To Extends WTP CN

GMF

GMF Introduction CN
Development Based GMF CN

相关资源

Back to the top