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 CN"

(GMF)
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== 基础部分 ==
 
== 基础部分 ==
 
=== 平台对象 ===
 
=== 平台对象 ===
[[PlatformUI CN |Platform UI]] - SWT /JFace /Workbench <br />
+
[[PlatformUI CN |平台用户界面]] - SWT /JFace /工作台 <br />
[[Image:workbench_decomposed.png]] <br />
+
[[Image:Workbench.png]] <br />
  
 
=== 产品结构 ===
 
=== 产品结构 ===
产品 Product、 Update Site 、 RCP Application <br />
+
产品、更新网站、RCP应用程序<br />
功能 Feature、Feature Patch <br />
+
功能、功能补丁<br />
插件 Plugin、Fragment <br />
+
插件、片段<br />
  
 
+ '''''${eclipse.install.home}''''' <br />
 
+ '''''${eclipse.install.home}''''' <br />
Line 30: Line 30:
  
 
=== 插件结构 ===
 
=== 插件结构 ===
了解插件结构,有助于进行[[Resource CN |资源]]及资源操作。<br />
+
了解插件结构,有助于对资源进行操作。<br />
 
+ '''''${yourdomain.project.component}''''' <br />
 
+ '''''${yourdomain.project.component}''''' <br />
 
| <br />
 
| <br />
Line 48: Line 48:
  
 
== 实例部分 ==
 
== 实例部分 ==
=== Editors ===
+
=== 编辑器 ===
 
编辑器:org.eclipse.ui.editors <br />
 
编辑器:org.eclipse.ui.editors <br />
  
=== Views ===
+
=== 视图 ===
 
视图:org.eclipse.ui.views <br />  
 
视图:org.eclipse.ui.views <br />  
  
=== Dialogs ===
+
=== 对话框 ===
 
首选项页:org.eclipse.ui.preferencePages <br />  
 
首选项页:org.eclipse.ui.preferencePages <br />  
 
属性页:org.eclipse.ui.propertyPages <br />
 
属性页:org.eclipse.ui.propertyPages <br />
Line 61: Line 61:
 
导出向导:org.eclipse.ui.exportWizards <br />
 
导出向导:org.eclipse.ui.exportWizards <br />
  
=== Actions ===  
+
=== 操作 ===  
 
操作集:org.eclipse.ui.actionSets <br />  
 
操作集:org.eclipse.ui.actionSets <br />  
 
弹出菜单:org.eclipse.ui.popupMenus <br />
 
弹出菜单:org.eclipse.ui.popupMenus <br />
  
=== Others ===
+
=== 其它 ===
 
帮助文档:org.eclipse.help.toc <br />
 
帮助文档:org.eclipse.help.toc <br />
  
 
== 高级部分 ==
 
== 高级部分 ==
=== Test ===
+
=== 测试 ===
[[Use JUnit CN |Use JUnit In Eclipse]]
+
[[Use JUnit CN| 在Eclipse中使用JUnit]]
  
 
=== WTP ===
 
=== WTP ===
[[Use Webtools WTP CN |Use Webtools WTP]] <br />
+
[[Use Webtools WTP |使用Webtools WTP]] <br />
[[How To Extends WTP CN |How To Extends WTP]] <br />
+
[[How To Extends WTP |怎样扩展WTP]] <br />
  
 
=== GMF ===
 
=== GMF ===
[[GMF Introduction CN |GMF Introduction]] <br />
+
[[GMF Introduction |GMF简介]] <br />
[[Development Based GMF CN |Development Based GMF]] <br />
+
[[Development Based GMF |基于GMF的开发]] <br />
  
 
== 相关资源 ==
 
== 相关资源 ==
* [http://help.eclipse.org/ Eclipse Help Document]
+
* [http://help.eclipse.org/ Eclipse 帮助文档]
* [http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2-200606291905/eclipse-examples-3.2-win32.zip Eclipse 3.2 Examples]
+
* [http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2-200606291905/eclipse-examples-3.2-win32.zip Eclipse 3.2 的例子]
* [http://www.eclipse.org/articles/ Eclipse Corner Articles]
+
* [http://www.eclipse.org/articles/ Eclipse Corner 的文章]
* [http://www.eclipse.org/org/councils/roadmap.php Eclipse Roadmap]
+
* [http://www.eclipse.org/org/councils/roadmap.php Eclipse 路线图]
 
* [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]
+
* [http://www.eclipse.org/articles/Article-UI-Guidelines/index_cn.html Eclipse 用户界面指南]
* [http://www-128.ibm.com/developerworks/cn/views/opensource/articles.jsp?view_by=search&search_by=Eclipse IBM’s Eclipse 相关文献]
+
* [http://www-128.ibm.com/developerworks/cn/views/opensource/articles.jsp?view_by=search&search_by=Eclipse IBM的Eclipse 相关文献]

Latest revision as of 21:53, 12 March 2009

Eclipse 插件开发将从以下几个方面论述,基础部分是对Eclipse SDK 的扩展,实例部分举例说明如何进行插件开发,高级部分是对WTP 的扩展及基于GMF 框架的开发。<p /> Other language version of this page:EN

基础部分

平台对象

平台用户界面 - SWT /JFace /工作台
Workbench.png

产品结构

产品、更新网站、RCP应用程序
功能、功能补丁
插件、片段

+ ${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

实例部分

编辑器

编辑器:org.eclipse.ui.editors

视图

视图:org.eclipse.ui.views

对话框

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

操作

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

其它

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

高级部分

测试

在Eclipse中使用JUnit

WTP

使用Webtools WTP
怎样扩展WTP

GMF

GMF简介
基于GMF的开发

相关资源

Back to the top