org.eclipse.gmf.runtime.lite.commands
Class AbstractWrappingCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.eclipse.gmf.runtime.lite.commands.AbstractWrappingCommand
- Direct Known Subclasses:
- CompositeWrappingCommand, WrappingCommand
public abstract class AbstractWrappingCommand
- extends org.eclipse.gef.commands.Command
Abstract command that wraps a EMF command and is a GEF command.
Methods inherited from class org.eclipse.gef.commands.Command |
chain, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWrappingCommand
public AbstractWrappingCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
execute
public void execute()
- Overrides:
execute
in class org.eclipse.gef.commands.Command
canExecute
public boolean canExecute()
- Overrides:
canExecute
in class org.eclipse.gef.commands.Command
undo
public void undo()
- Overrides:
undo
in class org.eclipse.gef.commands.Command
canUndo
public boolean canUndo()
- Overrides:
canUndo
in class org.eclipse.gef.commands.Command
redo
public void redo()
- Overrides:
redo
in class org.eclipse.gef.commands.Command
dispose
public void dispose()
- Overrides:
dispose
in class org.eclipse.gef.commands.Command
getEditingDomain
protected final org.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()
getOperation
protected abstract org.eclipse.core.commands.operations.IUndoableOperation getOperation()
Copyright © 2012. All Rights Reserved.