org.eclipse.gmt.umlx.editor.commands
Class ImportResourceCommand
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.AbstractCreateCommand<org.eclipse.emf.ecore.resource.Resource,IActiveEditDomain>
org.eclipse.gmt.umlx.editor.commands.ImportResourceCommand
- All Implemented Interfaces:
- IAbstractCommand
public class ImportResourceCommand
- extends AbstractCreateCommand<org.eclipse.emf.ecore.resource.Resource,IActiveEditDomain>
Method Summary |
void |
doRedo()
(re)-execute the command. |
void |
doUndo()
un-execute the command. |
java.lang.String |
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 |
ImportResourceCommand
public ImportResourceCommand(IActiveEditDomain domain,
EcoreURI ecoreURI,
org.eclipse.emf.ecore.EObject contents)
doRedo
public final void doRedo()
- Description copied from class:
AbstractCommand
- (re)-execute the command.
doUndo
public final void doUndo()
- Description copied from class:
AbstractCommand
- un-execute the command.
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractModelCommand<org.eclipse.emf.ecore.resource.Resource>