Variable Renderer Factory

org.eclipse.atf.templates.variableRendererFactory

1.0

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.

<!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.



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>

The variableRenderer class must implement the org.eclipse.atf.templates.ui.variablerenderer.IVariableRenderer interface.

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.