Difference between revisions of "MoDisco/Capabilities"

From Eclipsepedia

Jump to: navigation, search
(New page: 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"> ...)
 
Line 1: Line 1:
 +
== Definition ==
 
MoDisco currently defines an Activity (aka Capability in the UI) that allows enabling or disabling all of MoDisco UI contributions:
 
MoDisco currently defines an Activity (aka Capability in the UI) that allows enabling or disabling all of MoDisco UI contributions:
 
  <extension
 
  <extension
Line 27: 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.
 +
 +
== 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'''):
 +
 +
[[Image:MoDisco_Capabilities.png]]
  
 
[[Category:MoDisco]]
 
[[Category:MoDisco]]

Revision as of 06:11, 19 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.

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):

MoDisco Capabilities.png