org.eclipse.gmt.umlx.tx.editor.commands
Class ChangeOCLExpressionCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.eclipse.gmt.umlx.editor.command.AbstractCommand
          extended by org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand<M>
              extended by org.eclipse.gmt.umlx.editor.commands.AbstractChangeCommand<M>
                  extended by org.eclipse.gmt.umlx.editor.commands.ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,java.lang.String>
                      extended by org.eclipse.gmt.umlx.tx.editor.commands.ChangeOCLExpressionCommand
All Implemented Interfaces:
IAbstractCommand

public class ChangeOCLExpressionCommand
extends ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,java.lang.String>


Constructor Summary
ChangeOCLExpressionCommand(org.eclipse.emf.ocl.expressions.OCLExpression model, java.lang.String newValue)
           
 
Method Summary
 java.lang.String getValue(org.eclipse.emf.ocl.expressions.OCLExpression model)
           
 void setValue(org.eclipse.emf.ocl.expressions.OCLExpression model, java.lang.String value)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.ChangeValueCommand
doRedo, doUndo, toString
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.AbstractChangeCommand
addSelectedObjects
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand
getModel
 
Methods inherited from class org.eclipse.gmt.umlx.editor.command.AbstractCommand
canExecute, canUndo, couldNotUnlock, diagnoseCannotExecute, dispose, execute, getCommand, prepare, prepare, redo, requestModification, undo
 
Methods inherited from class org.eclipse.gef.commands.Command
chain, getDebugLabel, getLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.command.IAbstractCommand
getLabel
 

Constructor Detail

ChangeOCLExpressionCommand

public ChangeOCLExpressionCommand(org.eclipse.emf.ocl.expressions.OCLExpression model,
                                  java.lang.String newValue)
Method Detail

getValue

public java.lang.String getValue(org.eclipse.emf.ocl.expressions.OCLExpression model)
Specified by:
getValue in class ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,java.lang.String>

setValue

public void setValue(org.eclipse.emf.ocl.expressions.OCLExpression model,
                     java.lang.String value)
Specified by:
setValue in class ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,java.lang.String>