Rational Developer for System z

CARMA Parameter Validators

Identifier:

com.ibm.carma.ui.parameterValidators

Since:

8.0

Description:

This extension point is used to register parameter validators. Parameter validators can be used to create custom validation of action parameters in the CARMA user interface.

Configuration Markup:

<!ELEMENT extension (parameterValidator*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT parameterValidator EMPTY>

<!ATTLIST parameterValidator

parameterId CDATA #IMPLIED

actionId    CDATA #IMPLIED

uniqueId    CDATA #REQUIRED

class       CDATA #REQUIRED>

Defines a custom parameter validator



Examples:

Registering a parameter validator:

<extension point="com.ibm.carma.ui.parameterValidators">
  <parameterValidator
    parameterId="042"
    actionId="021"
    uniqueId="MYRAM"
    class="com.example.MyParameterValidator"/>
</extension>

API Information:

The value of the class attribute must represent an implementor of com.ibm.carma.ui.events.IParameterValidator.

Supplied Implementation:

Plug-ins may use this extension point to add custom parameter validation to actions defined in a CARMA RAM.


Copyright IBM Corp. 2010 All Rights Reserved


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)