Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "JWT Modifications"
m (→Writing (Example) Plugins for JWT-WE) |
m (→General Standards for Plugins) |
||
Line 9: | Line 9: | ||
== General Standards for Plugins == | == General Standards for Plugins == | ||
− | * Required Execution Environment: Java 1.5 | + | * '''Provider''': Eclipse.org |
− | + | * '''Required Execution Environment:''' Java 1.5 | |
* '''CVS:''' In the we/jwt-we-plugins/ folder with the project dir as directory name | * '''CVS:''' In the we/jwt-we-plugins/ folder with the project dir as directory name | ||
− | * '''Versioning:''' x.y.z, same as corresponding Workflow Editor release | + | * '''Versioning:''' ''x.y.z'', same as corresponding Workflow Editor release |
+ | * '''Legal:''' Must contain EPL, CQ | ||
=== Standards for Example Plugins === | === Standards for Example Plugins === | ||
− | * '''Project Directory:''' jwt-we- | + | * '''Project Directory:''' jwt-we-''PLUGINTYPE''-example (e.g. view, sheet, ...) |
− | * '''Project Name:''' JWT WE | + | * '''Project Name:''' JWT WE ''PLUGINTYPE'' Example Plugin |
− | * '''Package Structure:''' org.eclipse.jwt.we.plugins. | + | * '''Package Structure:''' org.eclipse.jwt.we.plugins.''PLUGINTYPE''example |
=== Standards for Productive Plugins === | === Standards for Productive Plugins === | ||
− | * '''Project Directory:''' jwt-we-PLUGINTYPE-PLUGINNAME | + | * '''Project Directory:''' jwt-we-''PLUGINTYPE''-''PLUGINNAME'' (e.g. viewuml, doc, ...) |
− | * '''Project Name:''' JWT WE PLUGINNAME Plugin | + | * '''Project Name:''' JWT WE ''PLUGINNAME'' Plugin |
− | * '''Package Structure:''' org.eclipse.jwt.we.plugins.PLUGINNAME | + | * '''Package Structure:''' org.eclipse.jwt.we.plugins.''PLUGINNAME'' |
== Integrating new Features into JWT-WE == | == Integrating new Features into JWT-WE == |
Revision as of 07:06, 26 September 2008
This page provides information on how to add modify and add new features to the JWT Workflow Editor (JWT-WE).
Contents
Overview
The JWT Workflow Editor defines several extension points and mechanisms that allow users to customize and extend the abilities and properties of JWT-WE without changing the editor itself. However, there may be cases in which it becomes necessary to alter the Workflow Editor code itself, notably when the new features need to be implemented by committers of the JWT project. This page is intended to describe how JWT committers can deal with recurring tasks when adding features to the Workflow Editor like adding new options to the Eclipse preferences dialog (if you're instead looking for information on how to extend JWT-WE through providing external plugins, please take a look at JWT_Extensions).
Writing (Example) Plugins for JWT-WE
General Standards for Plugins
- Provider: Eclipse.org
- Required Execution Environment: Java 1.5
- CVS: In the we/jwt-we-plugins/ folder with the project dir as directory name
- Versioning: x.y.z, same as corresponding Workflow Editor release
- Legal: Must contain EPL, CQ
Standards for Example Plugins
- Project Directory: jwt-we-PLUGINTYPE-example (e.g. view, sheet, ...)
- Project Name: JWT WE PLUGINTYPE Example Plugin
- Package Structure: org.eclipse.jwt.we.plugins.PLUGINTYPEexample
Standards for Productive Plugins
- Project Directory: jwt-we-PLUGINTYPE-PLUGINNAME (e.g. viewuml, doc, ...)
- Project Name: JWT WE PLUGINNAME Plugin
- Package Structure: org.eclipse.jwt.we.plugins.PLUGINNAME
Integrating new Features into JWT-WE
Adding Preferences
notes:
- konstanten in preferenceconstants
- standardwerte in preferenceinitializer
- zugriffselemente in preferencereader
- beschriftung in plugin*.properties
- feldelemente in preferencepages
- preferences über preferencereader auslesen
- aktualisierung durch preferencechangelistener
neue seite:
- category in preferenceconstants
- category in preferencechangelistener
- page in pages erstellen
- seite in plugin.xml hinzufügen
- category in plugin.properties eintragen