blob: d7d8001a88f87b0ce42d2bb178eb717dba03bf61 [file] [log] [blame]
<!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 Launch Configuration Shortcuts Extension Point</title>
</head>
<body link="#0000FF" vlink="#800080">
<h1 align="center">Launch Configuration Shortcuts</h1>
<p><b><i>Identifier: </i></b>org.eclipse.debug.ui.launchConfigurationShortcuts</p>
<p><b><i>Description: </i></b>This extension point provides a
mechanism for specifying which launch configuration types have menu shortcuts present
in the UI for creating a new launch configuration of that type.</p>
<p><b><i>Configuration Markup:</i></b> </p>
<pre>
<tt>&nbsp;&nbsp; &lt;!ELEMENT shortcut (perspective)*</tt>&gt;
<tt>&nbsp;&nbsp; &lt;!ATTLIST shortcut</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; configTypeID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
</pre>
<ul>
<li><code>id</code> specifies a unique identifier for this launch configuration
shortcut.</li>
<li><code>configTypeID</code> specifies a launch configuration type id.</li>
</ul>
<pre>
<tt>&nbsp;&nbsp; &lt;!ELEMENT perspective</tt>&gt;
<tt>&nbsp;&nbsp; &lt;!ATTLIST perspective</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 a perspective in which a menu shortcut for the
specified launch configuration type will appear</li>
</ul>
<p><b><i>Examples:</i></b> </p>
<p>The following is an example of a launch configuration shortcut extension point: </p>
<pre>
&lt;extension point="org.eclipse.debug.ui.launchConfigurationShortcuts
&lt;shortcut
id="com.example.ExampleLaunchConfigurationShortcut"
configTypeID="com.example.ExampleLaunchConfigurationTypeIdentifier"&gt;
&lt;perspective id="org.eclipse.jdt.ui.JavaPerspective"/&gt;
&lt;perspective id="org.eclipse.debug.ui.DebugPerspective"/&gt;
&lt;/shortcut&gt;
&lt;/extension&gt;
</pre>
<p>In the above example, a menu shortcut will be shown for the launch configuration type
with identifier <code>com.example.ExampleLaunchConfigurationTypeIdentifier</code> in the
JavaPerspective and the DebugPerspective.
</p>
<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>