You can get some tips in an Eclipse article:
We have an elevator: Launch frame in Eclipse
Declaration of startup configuration type
At the first stage of creating our applet, the configuration type is launched, as shown in the following XML fragment from our plugin.xml file:
Non-UI Declaration
<extension point="org.eclipse.debug.core.launchConfigurationTypes"> <launchConfigurationType name="Java Applet" delegate="org.eclipse.jdt.internal.launching.JavaAppletLaunchConfigurationDelegate" modes="run, debug" id="org.eclipse.jdt.launching.javaApplet"> </launchConfigurationType> </extension>
The most important part of this declaration is the delegate attribute, which indicates the fully qualified name of the class that implements the org.eclipse.debug.core.model.ILaunchConfigurationDelegate interface.
The delegate is the brain of the launcher and implements the launch() method, which launches the specified configuration.
Vonc
source share