com.ibm.carma.ui
Class ActionValidatorRegistry

java.lang.Object
  extended by com.ibm.carma.ui.ActionValidatorRegistry

public class ActionValidatorRegistry
extends java.lang.Object

Registry of action validators. The registry can be populated by the com.ibm.carma.ui.actionValidators extension point. Validators for a particular action in a particular RAM can be retrieved using the getActionValidators(java.lang.String, java.lang.String) method.

Since:
8.0

Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 com.ibm.carma.ui.events.IActionValidator[] getActionValidators(java.lang.String ramUniqueId, java.lang.String actionId)
          Returns the registered action validators for the given RAM and action.
static ActionValidatorRegistry getRegistry()
          Returns the action validator registry.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getRegistry

public static ActionValidatorRegistry getRegistry()
Returns the action validator registry. If the registry has not been created, a new instance is created and initially populated with data from the Eclipse extension providers.

Returns:
the instance of the registry

getActionValidators

public com.ibm.carma.ui.events.IActionValidator[] getActionValidators(java.lang.String ramUniqueId,
                                                                      java.lang.String actionId)
Returns the registered action validators for the given RAM and action.

Parameters:
ramUniqueId - the unique identifier of the RAM
actionId - the identifier of the action as defined in the RAM
Returns:
the action validators that are registered for the given parameter