org.eclipse.gmt.umlx.tx.editor.commands
Class ChangeUsedClassifierCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmt.umlx.editor.command.AbstractCommand
org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand<M>
org.eclipse.gmt.umlx.editor.commands.AbstractChangeCommand<M>
org.eclipse.gmt.umlx.editor.commands.ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,org.eclipse.emf.ecore.EClassifier>
org.eclipse.gmt.umlx.tx.editor.commands.ChangeUsedClassifierCommand
- All Implemented Interfaces:
- IAbstractCommand
public class ChangeUsedClassifierCommand
- extends ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,org.eclipse.emf.ecore.EClassifier>
Constructor Summary |
ChangeUsedClassifierCommand(org.eclipse.emf.ocl.expressions.OCLExpression model,
org.eclipse.emf.ecore.EClassifier newValue)
|
Method Summary |
org.eclipse.emf.ecore.EClassifier |
getValue(org.eclipse.emf.ocl.expressions.OCLExpression model)
|
void |
setValue(org.eclipse.emf.ocl.expressions.OCLExpression model,
org.eclipse.emf.ecore.EClassifier value)
|
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 |
ChangeUsedClassifierCommand
public ChangeUsedClassifierCommand(org.eclipse.emf.ocl.expressions.OCLExpression model,
org.eclipse.emf.ecore.EClassifier newValue)
getValue
public org.eclipse.emf.ecore.EClassifier getValue(org.eclipse.emf.ocl.expressions.OCLExpression model)
- Specified by:
getValue
in class ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,org.eclipse.emf.ecore.EClassifier>
setValue
public void setValue(org.eclipse.emf.ocl.expressions.OCLExpression model,
org.eclipse.emf.ecore.EClassifier value)
- Specified by:
setValue
in class ChangeValueCommand<org.eclipse.emf.ocl.expressions.OCLExpression,org.eclipse.emf.ecore.EClassifier>