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>
- point - fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT parameterValidator EMPTY>
<!ATTLIST parameterValidator
parameterId CDATA #IMPLIED
actionId CDATA #IMPLIED
uniqueId CDATA #REQUIRED
class CDATA #REQUIRED>
Defines a custom parameter validator
- parameterId - the identifier of the parameter as defined in the CARMA RAM; use * to validate the selected all parameters for the selected action
- actionId - the identifier of the action as defined in the CARMA RAM; use * to validate the selected parameter for all actions
- uniqueId - the unique identifier of the CARMA RAM
- class - the parameter validator implementation, must implement IParameterValidator
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
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)