Jump to: navigation, search

Difference between revisions of "MoDisco/Capabilities"

Line 28: Line 28:
  
 
Product maintainers can use this definition as a starting point for customizing their product.
 
Product maintainers can use this definition as a starting point for customizing their product.
 +
See [https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.modisco/plugins/trunk/org.eclipse.gmt.modisco.infra.capabilities org.eclipse.gmt.modisco.infra.capabilities].
  
 
== Capability Dialog ==
 
== Capability Dialog ==
Plug-in "org.eclipse.gmt.modisco.infra.common.core" contains the Activity defined above, so that all MoDisco UI contributions can be activated/deactivated in the preferences ('''General > Capabilities'''):
+
Plug-in "org.eclipse.gmt.modisco.infra.capabilities" contains the Activity defined above, so that all MoDisco UI contributions can be activated/deactivated in the preferences ('''General > Capabilities'''):
  
 
[[Image:MoDisco_Capabilities.png]]
 
[[Image:MoDisco_Capabilities.png]]
  
 
[[Category:MoDisco]]
 
[[Category:MoDisco]]

Revision as of 05:09, 22 April 2010

Definition

MoDisco currently defines an Activity (aka Capability in the UI) that allows enabling or disabling all of MoDisco UI contributions:

<extension
      point="org.eclipse.ui.activities">
   <activity
         description="MoDisco UI Contributions"
         id="org.eclipse.gmt.modisco.activities.activity"
         name="MoDisco UI Contributions">
   </activity>
   <category
         description="MoDisco UI elements"
         id="org.eclipse.gmt.modisco.activities.category"
         name="MoDisco">
   </category>
   <categoryActivityBinding
         activityId="org.eclipse.gmt.modisco.activities.activity"
         categoryId="org.eclipse.gmt.modisco.activities.category">
   </categoryActivityBinding>
   <activityPatternBinding
         activityId="org.eclipse.gmt.modisco.activities.activity"
         isEqualityPattern="false"
         pattern="org\.eclipse\.gmt\.modisco\..*/.*">
   </activityPatternBinding>
   <defaultEnablement
         id="org.eclipse.gmt.modisco.activities.activity">
   </defaultEnablement>
</extension>

Product maintainers can use this definition as a starting point for customizing their product. See org.eclipse.gmt.modisco.infra.capabilities.

Capability Dialog

Plug-in "org.eclipse.gmt.modisco.infra.capabilities" contains the Activity defined above, so that all MoDisco UI contributions can be activated/deactivated in the preferences (General > Capabilities):

MoDisco Capabilities.png