org.eclipse.gmt.umlx.tx.editor.commands
Class ChangeMappingInstanceCommand<M extends UMappingInstance,V extends UMapping>
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<M,V>
org.eclipse.gmt.umlx.tx.editor.commands.ChangeMappingInstanceCommand<M,V>
- All Implemented Interfaces:
- IAbstractCommand
public class ChangeMappingInstanceCommand<M extends UMappingInstance,V extends UMapping>
- extends ChangeValueCommand<M,V>
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 |
ChangeMappingInstanceCommand
public ChangeMappingInstanceCommand(M model,
V newValue,
java.lang.Class<V> valueClass)
getValue
public V getValue(M model)
- Specified by:
getValue
in class ChangeValueCommand<M extends UMappingInstance,V extends UMapping>
setValue
public void setValue(M model,
V value)
- Specified by:
setValue
in class ChangeValueCommand<M extends UMappingInstance,V extends UMapping>