Since: 3.0
Description: This extension point provides a mechanism for defining simple launch configuration variables. A simple launch variable is a key/value pair (of strings) that can be used as an attribute value in a launch configuration which supports variable expansion.
Configuration Markup:
<!ELEMENT extension (variable*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT variable EMPTY>
<!ATTLIST variable
name CDATA #REQUIRED
initialValue CDATA #IMPLIED
initializerClass CDATA #IMPLIED
description CDATA #IMPLIED
>
<extension point="org.eclipse.debug.core.simpleLaunchVariables"> <variable name="FOO_HOME" initialValue="/usr/local/foo"> </variable> </extension>In the example above, the specified variable is created with the initial value "/usr/local/foo". The following is an example of a launch configuration variable extension point with an initializer class:
<extension point="org.eclipse.debug.core.simpleLaunchVariables"> <variable name="FOO_HOME" initializerClass="com.example.FooLocator"> </variable> </extension>In the example above, the variable FOO_HOME is created and the class "com.example.FooLocator" will be used to initialize the value the first time it's requested.
API Information: Value of the attribute initializerClass must be a fully qualified name of a Java class that implements the interface org.eclipse.debug.core.variables.IVariableInitializer.