Variable Renderer Factory
Identifier:
org.eclipse.atf.templates.variableRendererFactory
Since:
1.0
Description:
This extension point is used to contribute variable renderers to the AJAX Toolkit Framework's personality builder. A variable renderer will control how a variable type will be displayed as input in a wizard. Each variable renderer that is contributed via this extension point should correspond to a variable that has been contributed via the org.eclipse.atf.templates.variableFactory extension point.
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>
Specifies the renderer class and the variable type for which this renderer will be used.
- type - The variable type for which this variable renderer will be used. Should correspond to a valid variable type that has been contributed via the org.eclipse.atf.templates.variableFactory extension point.
- class - The variable renderer factory class. This class must implement the org.eclipse.atf.templates.ui.variablerenderer.IVariableRenderer interface.
Examples:
An example of a variableRenderer contribution for a List variable. The specified implementation class will control how a List variable is presented in the UI.
<extension
point=
"org.eclipse.atf.templates.variableRendererFactory"
>
<factory type=
"List"
class=
"com.xyz.ListVariableRendererFactory"
/>
</extension>
API Information:
The variableRenderer class must implement the org.eclipse.atf.templates.ui.variablerenderer.IVariableRenderer interface.
Supplied Implementation:
The current version of the AJAX Toolkit Framework supplies a variableRenderer implementation for the following variable types; String, Boolean, Project, and StringOptions. These contributions are made 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.