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 extension (debugActionGroup*)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT debugActionGroup (action*)>

   <!ATTLIST debugActionGroup
     id      CDATA #REQUIRED
     name    CDATA #REQUIRED
     visible (true | false)
   >

   <!ELEMENT action EMPTY>

   <!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>

Supplied Implementation: Currently, the org.eclipse.jdt.debug.ui plugin provides the org.eclipse.jdt.debug.ui.javaDebugActionGroup

Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.