blob: 2094e9b2b80512065bfa2e5f852a7c1a6a2c16d2 [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 Types Extension Point</title>
</head>
<body link="#0000FF" vlink="#800080">
<h1 align="center">Launch Configuration Types</h1>
<p><b><i>Identifier: </i></b>org.eclipse.debug.core.launchConfigurationTypes </p>
<p><b><i>Description: </i></b>This extension point provides a configurable
mechanism for launching applications. Each launch configuration type has a name,
supports one or more modes (run and or debug), and specifies a delegate
responsible for the implementation of launching an application.</p>
<p><b><i>Configuration Markup:</i></b> </p>
<pre>
<tt>&nbsp;&nbsp; &lt;!ELEMENT launchConfigurationType (fileExtension?)</tt>&gt;
<tt>&nbsp;&nbsp; &lt;!ATTLIST launchConfigurationType</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; delegate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modes&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>&gt;
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDATA (true | false) #IMPLIED</tt>&gt;
</pre>
<ul>
<li><code>id</code> specifies a unique identifier for this launch configuration
type.</li>
<li><code>delegate</code> specifies the fully qualified name of the java class
that implements <code>ILaunchConfigurationDelegate</code>. Launch configuration
instances of this type will delegate to instances of this class
to perform launching.</li>
<li><code>modes</code> specifies a comma separated list of the modes this
type of launch configuration suports - <code>"run"</code> and/or <code>"debug"</code>.</li>
<li><code>name</code> specifies a human readable name for this type
of launch configuration.</li>
<li><code>public</code> specifies whether this launch configuration type is
accessible by users. Defaults to true if not specified.</li>
</ul>
<pre>
<tt>&nbsp;&nbsp; &lt;!ATTLIST fileExtension</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extension CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default&nbsp;&nbsp; CDATA (true | false) #IMPLIED</tt>&gt;
</pre>
<ul>
<li><code>extension</code> specifies a file extension that this launch configuration type
can be used for.</li>
<li><code>default</code> specifies whether this launch configuration type should be
the default launch configuration type for the specified file extension. Defaults
to false if not specified.</li>
</ul>
<p><b><i>Examples:</i></b> </p>
<p>The following is an example of a launch configuration type extension point: </p>
<pre>
&lt;extension point="org.eclipse.debug.core.launchConfigurationTypes"&gt;
&lt;launchConfigurationType
id="com.example.ExampleIdentifier"
delegate="com.example.ExampleLaunchConfigurationDelegate"
modes="run, debug"
name="Example Application"&gt;
&lt;fileExtension
extension="txt"
default=true&gt;
&lt;fileExtension
extension="gif"
default=false&gt;
&lt;/launchConfigurationType&gt;
&lt;/extension&gt;
</pre>
<p>In the example above, the specified type of launch configuration supports both run and debug modes.
The launch configuartion is applicable to txt and gif files, and is the default launch configuration
for txt files.
</p>
<p><b><i>API Information: </i></b>Value of the attribute <b>delegate</b> must be a fully
qualified name of a Java class that implements the interface <b>
org.eclipse.debug.core.model.ILaunchConfigurationDelegate</b>.
</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>