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"

Line 30: Line 30:
  
 
=== 插件结构 ===
 
=== 插件结构 ===
 +
了解插件结构,有助于进行[[Resource CN |资源]]及资源操作。<br />
 
+ '''''${yourdomain.project.component}''''' <br />
 
+ '''''${yourdomain.project.component}''''' <br />
 
| <br />
 
| <br />
Line 68: Line 69:
  
 
== 高级部分 ==
 
== 高级部分 ==
 +
=== Test ===
 +
[[Use JUnit CN |Use JUnit In Eclipse]]
 +
 
=== WTP ===
 
=== WTP ===
 
[[Use Webtools WTP CN |Use Webtools WTP]] <br />
 
[[Use Webtools WTP CN |Use Webtools WTP]] <br />

Revision as of 03:51, 3 October 2006

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

基础部分

平台对象

Platform UI - 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

高级部分

Test

Use JUnit In Eclipse

WTP

Use Webtools WTP
How To Extends WTP

GMF

GMF Introduction
Development Based GMF

相关资源

Copyright © Eclipse Foundation, Inc. All Rights Reserved.