DTP Capabilities Location
DTP Capabilities How To
In Galileo, the DTP Capabilities plug-in was included as part of the package process. In Helios, capabilities were pulled out of that process and to be documented separately.
The goal of this document is to explain:
- Where to find the existing Capabilities plug-in in CVS
- Or how to implement your own Capabilities for DTP
Existing Capabilities Plug-in
The existing Capabilities plug-in can be found in CVS...
Anonymous CVS server info:
* Host: dev.eclipse.org * Repository Path: /cvsroot/datatools * User: anonymous * Password: <empty> * Connection method: pserver * Plug-in (within org.eclipse.datatools.build): org.eclipse.datatools.capabilities
Really all that's in this plug-in is the org.eclipse.ui.activities extension point in the plugin.xml at this point.
As mentioned in the last section, really capabilities boil down to the org.eclipse.ui.activities extension. All that the extension does is shut down the DTP plug-ins:
description="%activity.description" id="org.eclipse.datatools.capabilities.activity" name="%activity.name"/> <activityPatternBinding activityId="org.eclipse.datatools.capabilities.activity" pattern="org\.eclipse\.datatools\..*/.*"> </activityPatternBinding> </extension>
More fine-grained disabling of particular plug-ins can be done, but this takes care of the high level "switch" to turn off DTP functionality in the workbench via Capabilities.