Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 876b4291d9cb344f973325250907f74248764007 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!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>&nbsp;&nbsp; &lt;!ELEMENT debugActionGroup (action)*</tt>&gt;
<tt>&nbsp;&nbsp; &lt;!ATTLIST debugActionGroup</tt> 
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; visible&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #IMPLIED</tt>&gt;
</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>&nbsp;&nbsp; &lt;!ELEMENT action</tt>&gt;
<tt>&nbsp;&nbsp; &lt;!ATTLIST action</tt> 
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>&gt;
</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>
&lt;extension point = "org.eclipse.debug.ui.debugActionGroups"&gt;
	&lt;debugActionGroup
		id = "org.eclipse.jdt.debug.ui.javaDebugActionGroup"
	   	visible="false"
	   	name="Java Debug"&gt;
	   	&lt;action id="org.eclipse.jdt.ui.actions.RunToLineToolbar"/&gt;
	   	&lt;action id="org.eclipse.jdt.ui.breakpointViewActions.ShowQualified"/&gt;
	&lt;/debugActionGroup&gt;
&lt;/extension&gt;
</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>

Back to the top