blob: 57e3e563a31d4f559924a6d729e92742e6c16898 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE type="text/css">
div.dtd-fragment {
width: 100%;
border: none;
background-color: #eee;
}
</STYLE>
</HEAD>
<HTML>
<BODY>
<H1><CENTER>Debug Action Groups</CENTER></H1>
<b><i>Identifier: </i></b>org.eclipse.debug.ui.debugActionGroups<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>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.debugActionGroup">debugActionGroup</a>*)&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST extension</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
</ul>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.debugActionGroup">debugActionGroup</a> (<a href="#e.action">action</a>*)&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST debugActionGroup</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;visible&nbsp;(true | false) </samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>id</b> - specifies a unique identifier for this debug action group.</li>
<li><b>name</b> - a translatable name that will be used for the debug action group label.</li>
<li><b>visible</b> - an optional attribute indicating the visibility of the group. If omitted, the group is set to be visible.</li>
</ul>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.action">action</a> EMPTY&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST action</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>id</b> - the unique identifier of an action that will be added to the debug action group.</li>
</ul>
<b><i>Examples: </i></b>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>
<font color="#000080">&lt;extension point=<font color="#008000">&quot;org.eclipse.debug.ui.debugActionGroups&quot;</font>&gt;</font>
<font color="#000080">&lt;debugActionGroup
id=<font color="#008000">&quot;org.eclipse.jdt.debug.ui.javaDebugActionGroup&quot;</font>
visible=<font color="#008000">&quot;false&quot;</font>
name=<font color="#008000">&quot;Java Debug&quot;</font>&gt;</font>
<font color="#000080">&lt;action id=<font color="#008000">&quot;org.eclipse.jdt.ui.actions.RunToLineToolbar&quot;</font>/&gt;</font>
<font color="#000080">&lt;action id=<font color="#008000">&quot;org.eclipse.jdt.ui.breakpointViewActions.ShowQualified&quot;</font>/&gt;</font>
<font color="#000080">&lt;/debugActionGroup&gt;</font>
<font color="#000080">&lt;/extension&gt;</font>
</pre>
</p><p>
<b><i>Supplied Implementation: </i></b>Currently, the org.eclipse.jdt.debug.ui plugin provides the org.eclipse.jdt.debug.ui.javaDebugActionGroup<p>
<font size="-1" color="#336699">
<p>
<a href="hglegal.htm">
<img SRC="ngibmcpy.gif"
ALT="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved."
BORDER=0 height=14 width=324></a>
</p><p>
</font>
</BODY>
</HTML>