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"

Line 2: Line 2:
  
 
== 基础部分 ==
 
== 基础部分 ==
 +
=== 平台对象 ===
 
[[Image:workbench_decomposed.png]]
 
[[Image:workbench_decomposed.png]]
 +
 +
=== 产品结构 ===
 +
产品 Product、 Update Site 、 RCP Application <br />
 +
功能 Feature、Feature Patch <br />
 +
插件 Plugin、Fragment <br />
 +
 +
=== 插件结构 ===
 +
+ '''${yourdomain.project.component}''' <br />
 +
| <br />
 +
++++ '''src/*.java, *.properties''' <br />
 +
| <br />
 +
++++ '''lib/*.jar''' <br />
 +
| <br />
 +
++++ '''templ/*.*''' <br />
 +
| <br />
 +
++++ '''icons/*.gif, *.jpg''' <br />
 +
| <br />
 +
++++ '''.project, .classpath''' <br />
 +
| <br />
 +
++++ '''META-INF/MANIFEST.MF''' <br />
 +
| <br />
 +
++++ '''plugin.xml, plugin.properties''' <br />
  
 
== 高级部分 ==
 
== 高级部分 ==
  
 
== 实例部分 ==
 
== 实例部分 ==

Revision as of 02:01, 11 July 2006

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

基础部分

平台对象

Workbench decomposed.png

产品结构

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

插件结构

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

高级部分

实例部分

Back to the top