eva/3 Application BuilderDeveloping Additional eva/3 ComponentsExtensionpoints 

Parameter Types

With the Extensionpoints

com.odc.eva3.dev.form.parametertype

and

com.odc.eva3.dev.macro.parametertype

Swing resp. SWT based Parameters in Commands can be defined.

Swing Based Styles

With the Extensionpoint

com.odc.eva3.dev.form.parametertype

Swing based styles can be defined for parameters. The class, specified in the Extensionpoint, provides the the renderer and editors for the according style

In difference to the editors and renderers based on

com.odc.eva3.rt.property,

the editors and renderes mounted by this extension point can include all the advantages of eclipse and especially the Plugins

com.odc.eva3.dev.*

Example: The following example descibes that macro parameters containing the style fileselection are handled by class ExternFileDialogCommandParamterSupport on editing in a form or report designer

<extension
  point="com.odc.eva3.dev.form.parametertype">
  <support
    type="fileselection"
    target="command"
    supporter="com.odc.eva3.dev.form.prop.cmdsupport.ExternFileDialogCommandParamterSupport">
  </support>
</extension>

An Extension of the point

com.odc.eva3.dev.form.parametertype

describes elements of the type support with the following attributes:

type The name of this style
target One of beanschema and command. Renderers and editors for bean properties work on lists of values, while renderers and editors for command paramters work on single values. Therefor any extension can only work for one of those kinds. (target == beanschema is currently not supported)
supporter The class to edit parameters of this style in the form and report editor. It must implement the interface com.odc.eva3.dev.form.prop.cmdsupport.ICommandParameterSupport

SWT Based Styles

The Extensionpoint

com.odc.eva3.dev.macro.parametertype

describes SWT based styles for parameters. The can be applayed to a command parameter in the command editor. The described class is to select the parameter value in the macro editor.

Example: The following example descibes that parameters of style fileselection in the macro editor are handled by class ExternFileDialogCommandParamterSupport.

<extension 
  point="com.odc.eva3.dev.form.parametertype">
  <support
    type="fileselection"
    supporter="com.odc.eva3.dev.macro.cmdsupport.ExternFileDialogCommandParamterSupport">
  </support>
 </extension>

The Extensionpoint

com.odc.eva3.dev.macro.parametertype

describes elemente of type support containing the following attributes

type The name of this style
supporter The class to edit parameters of this style in the macro editor. It must implement the interface com.odc.eva3.dev.macro.cmdsupport.ITableSupport