<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>README Debug Action Groups</title> | |
</head> | |
<body link="#0000FF" vlink="#800080"> | |
<h1 align="center">Debug Action Groups</h1> | |
<p><b><i>Identifier: </i></b>org.eclipse.debug.ui.debugActionGroups </p> | |
<p><b><i>Description: </i></b>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. | |
<p><b><i>Configuration Markup:</i></b> </p> | |
<pre> | |
<tt> <!ELEMENT debugActionGroup (action)*</tt>> | |
<tt> <!ATTLIST debugActionGroup</tt> | |
<br><tt> id CDATA #REQUIRED</tt> | |
<br><tt> name CDATA #REQUIRED</tt> | |
<br><tt> visible CDATA #IMPLIED</tt>> | |
</pre> | |
<ul> | |
<li><code>id</code> - specifies a unique identifier for this debug action group.</li> | |
<li><code>name</code> - a translatable name that will be used for the debug action group label.</li> | |
<li><code>visible</code> - an optional attribute indicating the visibility of the group. If omitted the group is set to be visible</li> | |
</ul> | |
<pre> | |
<tt> <!ELEMENT action</tt>> | |
<tt> <!ATTLIST action</tt> | |
<br><tt> id CDATA #REQUIRED</tt>> | |
</pre> | |
<ul> | |
<li><code>id</code> - the unique identifier of an action that will be added to the debug action group</li> | |
</ul> | |
<p><b><i>Examples:</i></b> </p> | |
<p>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. </p> | |
<pre> | |
<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> | |
</pre> | |
<p><a href="hglegal.htm"><img src="ngibmcpy.gif" alt="Copyright IBM Corp. 2000, 2001. All Rights Reserved." | |
border="0" width="195" height="12"></a></p> | |
</body> | |
</html> |