com.ibm.carma.ui.events
Class ParameterValidationEvent

java.lang.Object
  extended by com.ibm.carma.ui.events.ParameterValidationEvent

public class ParameterValidationEvent
extends java.lang.Object

Instances of this class provide a description of an event that occurred while editing a parameter.

Since:
8.0

Field Summary
 com.ibm.carma.model.Action action
          The action that is associated with the parameter being edited.
 boolean allowInput
          A flag indicating whether the input operation that caused this event should be allowed.
 com.ibm.carma.model.Parameter parameter
          The parameter being edited.
 com.ibm.carma.model.RepositoryManager repositoryManager
          The repository manager associated with the parameter.
 java.lang.String text
          The new value of the parameter.
 org.eclipse.swt.widgets.Widget widget
          The user interface widget associated with the parameter being edited.
 
Constructor Summary
ParameterValidationEvent(com.ibm.carma.model.RepositoryManager repositoryManager, com.ibm.carma.model.Parameter parameter, com.ibm.carma.model.Action action, org.eclipse.swt.widgets.Widget widget, java.lang.String text, boolean allowInput)
          Constructs a new instance of this class.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repositoryManager

public com.ibm.carma.model.RepositoryManager repositoryManager
The repository manager associated with the parameter.


parameter

public com.ibm.carma.model.Parameter parameter
The parameter being edited.


action

public com.ibm.carma.model.Action action
The action that is associated with the parameter being edited.


widget

public org.eclipse.swt.widgets.Widget widget
The user interface widget associated with the parameter being edited.


text

public java.lang.String text
The new value of the parameter. Changing this field will change the value of the parameter being edited.


allowInput

public boolean allowInput
A flag indicating whether the input operation that caused this event should be allowed. Setting this field to false will cancel the input operation.

Constructor Detail

ParameterValidationEvent

public ParameterValidationEvent(com.ibm.carma.model.RepositoryManager repositoryManager,
                                com.ibm.carma.model.Parameter parameter,
                                com.ibm.carma.model.Action action,
                                org.eclipse.swt.widgets.Widget widget,
                                java.lang.String text,
                                boolean allowInput)
Constructs a new instance of this class.

Parameters:
repositoryManager - The repository manager.
parameter - The parameter.
action - The action.
widget - The widget.
text - The value of the parameter.
allowInput - Whether to allow the input.