org.eclipse.gmt.umlx.editor.commands
Class AbstractChangeCommand<M>

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>
All Implemented Interfaces:
IAbstractCommand
Direct Known Subclasses:
ChangeBendpointsCommand, ChangeBoundsCommand, ChangeCoModelCommand, ChangeValueCommand, CreateBendpointCommand, DeleteBendpointCommand, MoveBendpointCommand

public abstract class AbstractChangeCommand<M>
extends AbstractModelCommand<M>


Constructor Summary
AbstractChangeCommand(java.lang.String label, M model)
           
 
Method Summary
 void addSelectedObjects(java.util.Collection<java.lang.Object> selectedObjects, boolean isDone)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.commands.AbstractModelCommand
getModel, toString
 
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

AbstractChangeCommand

public AbstractChangeCommand(java.lang.String label,
                             M model)
Method Detail

addSelectedObjects

public void addSelectedObjects(java.util.Collection<java.lang.Object> selectedObjects,
                               boolean isDone)
Specified by:
addSelectedObjects in interface IAbstractCommand
Overrides:
addSelectedObjects in class AbstractCommand