Variable Factory
Identifier:
org.eclipse.atf.templates.variableFactory
Since:
1.0
Description:
Used to contribute new variable factories to the personality builder framework of the AJAX Toolkit Framework.
Configuration Markup:
<!ELEMENT extension (factory)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT factory EMPTY>
<!ATTLIST factory
type CDATA #REQUIRED
class CDATA #REQUIRED>
Variable factory which will create variables of the given type.
- type - The unique type of the factory (i.e. String, Boolean, etc.).
- class - The class that implements the org.eclipse.atf.templates.variable.factory.IVariableFactory interface.
Examples:
An example of contributing a variable factory to support a "List" variable type:
<extension point=
"org.eclipse.atf.templates.variableFactory"
>
<factory type=
"List"
class=
"com.xyz.variable.factory.ListVariableFactory"
/>
</extension>
API Information:
The variable factory implementation class must implement the org.eclipse.atf.templates.variable.factory.IVariableFactory interface. The variable factory implementation class may extend the base class, org.eclipse.atf.templates.variable.factory.VariableFactoryBase.
Supplied Implementation:
The current AJAX Toolkit Framework implements variable factories with the following types; String, Boolean, Project, StringOptions and RelativePath. These extensions are defined in the org.eclipse.atf.templates plugin.
Licensed Materials - Property of IBM
AJAX Toolkit Framework 6-28-496-8128
Copyright(c) IBM Corp. 2006 All Rights Reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.