Class GFWorkspaceCommandStackImpl
java.lang.Object
org.eclipse.emf.common.command.BasicCommandStack
org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack
org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl
- All Implemented Interfaces:
org.eclipse.emf.common.command.CommandStack,org.eclipse.emf.transaction.impl.InternalTransactionalCommandStack,org.eclipse.emf.transaction.TransactionalCommandStack,org.eclipse.emf.workspace.IWorkspaceCommandStack
public class GFWorkspaceCommandStackImpl
extends org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
-
Field Summary
Fields inherited from class org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack
exceptionHandlerFields inherited from class org.eclipse.emf.common.command.BasicCommandStack
commandList, listeners, mostRecentCommand, saveIndex, top -
Constructor Summary
ConstructorsConstructorDescriptionGFWorkspaceCommandStackImpl(org.eclipse.core.commands.operations.IOperationHistory history) -
Method Summary
Methods inherited from class org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
canRedo, canUndo, createTransaction, doExecute, executeTriggers, getDefaultUndoContext, getDefaultUndoContextLabel, getMostRecentCommand, getOperationHistory, getRedoCommand, getResourceUndoContextPolicy, getSavepointUndoContextLabel, getUndoCommand, isSaveNeeded, saveIsDone, setEditingDomain, setResourceUndoContextPolicyMethods inherited from class org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack
basicExecute, basicRedo, basicUndo, execute, getDomain, getExceptionHandler, getUndoRedoOptions, handleError, handleRollback, makeTriggerTransactionOptions, rollback, setExceptionHandlerMethods inherited from class org.eclipse.emf.common.command.BasicCommandStack
addCommandStackListener, notifyListeners, removeCommandStackListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.emf.common.command.CommandStack
addCommandStackListener, execute, removeCommandStackListenerMethods inherited from interface org.eclipse.emf.transaction.TransactionalCommandStack
getExceptionHandler, setExceptionHandler
-
Constructor Details
-
GFWorkspaceCommandStackImpl
public GFWorkspaceCommandStackImpl(org.eclipse.core.commands.operations.IOperationHistory history)
-
-
Method Details
-
execute
public void execute(org.eclipse.emf.common.command.Command command, Map<?, ?> options) throws InterruptedException, org.eclipse.emf.transaction.RollbackException- Specified by:
executein interfaceorg.eclipse.emf.transaction.TransactionalCommandStack- Overrides:
executein classorg.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack- Throws:
InterruptedExceptionorg.eclipse.emf.transaction.RollbackException
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.emf.transaction.impl.InternalTransactionalCommandStack- Overrides:
disposein classorg.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
-
flush
public void flush()- Specified by:
flushin interfaceorg.eclipse.emf.common.command.CommandStack- Overrides:
flushin classorg.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
-
redo
public void redo()- Specified by:
redoin interfaceorg.eclipse.emf.common.command.CommandStack- Overrides:
redoin classorg.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
-
undo
public void undo()- Specified by:
undoin interfaceorg.eclipse.emf.common.command.CommandStack- Overrides:
undoin classorg.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl
-