Jump to: navigation, search

MoDisco/Capabilities

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