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 "DTP Capabilities Location"

 
Line 1: Line 1:
== 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.  
 
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.  
  

Latest revision as of 10:27, 6 April 2010

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:

  1. Where to find the existing Capabilities plug-in in CVS
  2. 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
   * Module (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.

Capabilities Implementation

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:

  
   <extension
         point="org.eclipse.ui.activities">
	<activity
    	  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.

Back to the top