<!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> <!ELEMENT shortcut (perspective)*</tt>> | |
<tt> <!ATTLIST shortcut</tt> | |
<br><tt> id CDATA #REQUIRED</tt> | |
<br><tt> configTypeID 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> <!ELEMENT perspective</tt>> | |
<tt> <!ATTLIST perspective</tt> | |
<br><tt> id CDATA #REQUIRED</tt>> | |
</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> | |
<extension point="org.eclipse.debug.ui.launchConfigurationShortcuts | |
<shortcut | |
id="com.example.ExampleLaunchConfigurationShortcut" | |
configTypeID="com.example.ExampleLaunchConfigurationTypeIdentifier"> | |
<perspective id="org.eclipse.jdt.ui.JavaPerspective"/> | |
<perspective id="org.eclipse.debug.ui.DebugPerspective"/> | |
</shortcut> | |
</extension> | |
</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> |