org.eclipse.gmt.umlx.editor.commands
Class AbstractModelCommand<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>
All Implemented Interfaces:
IAbstractCommand
Direct Known Subclasses:
AbstractChangeCommand, AbstractCreateCommand, AbstractDeleteCommand

public abstract class AbstractModelCommand<M>
extends AbstractCommand


Constructor Summary
AbstractModelCommand(java.lang.String label, M model)
           
 
Method Summary
 M getModel()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.command.AbstractCommand
addSelectedObjects, 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

AbstractModelCommand

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

getModel

public M getModel()

toString

public java.lang.String toString()
Overrides:
toString in class AbstractCommand