Debug Action Groups

Identifier: org.eclipse.debug.ui.debugActionGroups

Description: This extension point provides a mechanism to specify the visibility of action groups. Any view that returns an instance of IDebugView when queried with #getAdapter(IDebugView.class) will have its context menu and toolbar affected by the visibility of the action groups.

Configuration Markup:

   <!ELEMENT debugActionGroup (action)*>
   <!ATTLIST debugActionGroup 

      id            CDATA #REQUIRED
      name          CDATA #REQUIRED
      visible       CDATA #IMPLIED>
   <!ELEMENT action>
   <!ATTLIST action 

      id            CDATA #REQUIRED>

Examples:

The following is an example of a debug action group extension point. In all debug views (views that return an instance of IDebugView when queried with #getAdapter(IDebugView.class)), the actions listed will not be visible in the toolbar or context menu of the view.

<extension point = "org.eclipse.debug.ui.debugActionGroups">
	<debugActionGroup
		id = "org.eclipse.jdt.debug.ui.javaDebugActionGroup"
	   	visible="false"
	   	name="Java Debug">
	   	<action id="org.eclipse.jdt.ui.actions.RunToLineToolbar"/>
	   	<action id="org.eclipse.jdt.ui.breakpointViewActions.ShowQualified"/>
	</debugActionGroup>
</extension>

Copyright IBM Corp. 2000, 2001. All Rights Reserved.