|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IActionValidator
Interface for action validators.
Clients should implement this interface and include the name of their class
in an action validator contributed to the action validators extension
point "com.ibm.carma.ui.actionValidators". For example, the
markup in the contributing plugin.xml might contain:
<extension point="com.ibm.carma.ui.actionValidators">
<actionValidator
actionId="042"
ramId="42"
class="com.example.MyActionValidator"/>
</extension>
| Method Summary | |
|---|---|
boolean |
isParameterRequired(com.ibm.carma.model.Action action,
com.ibm.carma.model.Parameter parameter)
If this method returns true, the CARMA user interface displays an asterisk next to the control associated with the given parameter. |
ValidationResult |
validateAction(ActionValidationEvent event)
This method is invoked when the action dialog needs to determine whether the user has input appropriate parameters for the action to continue. |
| Method Detail |
|---|
ValidationResult validateAction(ActionValidationEvent event)
event - An event containing information about the input operation.
boolean isParameterRequired(com.ibm.carma.model.Action action,
com.ibm.carma.model.Parameter parameter)
action - the actionparameter - the parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||