Class GFCommandStack
- java.lang.Object
-
- org.eclipse.gef.commands.CommandStack
-
- org.eclipse.graphiti.ui.internal.editor.GFCommandStack
-
- All Implemented Interfaces:
org.eclipse.emf.common.command.CommandStackListener
public class GFCommandStack extends org.eclipse.gef.commands.CommandStack implements org.eclipse.emf.common.command.CommandStackListenerThe Class GFCommandStack.
-
-
Constructor Summary
Constructors Constructor Description GFCommandStack(IConfigurationProvider configurationProvider, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRedo()booleancanUndo()voidcommandStackChanged(java.util.EventObject event)voiddispose()voidexecute(org.eclipse.gef.commands.Command gefCommand)voidflush()java.lang.Object[]getCommands()org.eclipse.gef.commands.CommandgetRedoCommand()org.eclipse.gef.commands.CommandgetUndoCommand()booleanisDirty()voidredo()voidundo()
-
-
-
Constructor Detail
-
GFCommandStack
public GFCommandStack(IConfigurationProvider configurationProvider, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
-
-
Method Detail
-
canRedo
public boolean canRedo()
- Overrides:
canRedoin classorg.eclipse.gef.commands.CommandStack
-
canUndo
public boolean canUndo()
- Overrides:
canUndoin classorg.eclipse.gef.commands.CommandStack
-
dispose
public void dispose()
- Overrides:
disposein classorg.eclipse.gef.commands.CommandStack
-
execute
public void execute(org.eclipse.gef.commands.Command gefCommand)
- Overrides:
executein classorg.eclipse.gef.commands.CommandStack
-
flush
public void flush()
- Overrides:
flushin classorg.eclipse.gef.commands.CommandStack
-
getCommands
public java.lang.Object[] getCommands()
- Overrides:
getCommandsin classorg.eclipse.gef.commands.CommandStack
-
getRedoCommand
public org.eclipse.gef.commands.Command getRedoCommand()
- Overrides:
getRedoCommandin classorg.eclipse.gef.commands.CommandStack
-
getUndoCommand
public org.eclipse.gef.commands.Command getUndoCommand()
- Overrides:
getUndoCommandin classorg.eclipse.gef.commands.CommandStack
-
isDirty
public boolean isDirty()
- Overrides:
isDirtyin classorg.eclipse.gef.commands.CommandStack
-
redo
public void redo()
- Overrides:
redoin classorg.eclipse.gef.commands.CommandStack
-
undo
public void undo()
- Overrides:
undoin classorg.eclipse.gef.commands.CommandStack
-
commandStackChanged
public void commandStackChanged(java.util.EventObject event)
- Specified by:
commandStackChangedin interfaceorg.eclipse.emf.common.command.CommandStackListener
-
-