public class GFCommandStack
extends org.eclipse.gef.commands.CommandStack
implements org.eclipse.emf.common.command.CommandStackListener
| Constructor and Description |
|---|
GFCommandStack(IConfigurationProvider configurationProvider,
org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo() |
boolean |
canUndo() |
void |
commandStackChanged(java.util.EventObject event) |
void |
dispose() |
void |
execute(org.eclipse.gef.commands.Command gefCommand) |
void |
flush() |
java.lang.Object[] |
getCommands() |
org.eclipse.gef.commands.Command |
getRedoCommand() |
org.eclipse.gef.commands.Command |
getUndoCommand() |
boolean |
isDirty() |
void |
redo() |
void |
undo() |
public GFCommandStack(IConfigurationProvider configurationProvider, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
public boolean canRedo()
canRedo in class org.eclipse.gef.commands.CommandStackpublic boolean canUndo()
canUndo in class org.eclipse.gef.commands.CommandStackpublic void dispose()
dispose in class org.eclipse.gef.commands.CommandStackpublic void execute(org.eclipse.gef.commands.Command gefCommand)
execute in class org.eclipse.gef.commands.CommandStackpublic void flush()
flush in class org.eclipse.gef.commands.CommandStackpublic java.lang.Object[] getCommands()
getCommands in class org.eclipse.gef.commands.CommandStackpublic org.eclipse.gef.commands.Command getRedoCommand()
getRedoCommand in class org.eclipse.gef.commands.CommandStackpublic org.eclipse.gef.commands.Command getUndoCommand()
getUndoCommand in class org.eclipse.gef.commands.CommandStackpublic boolean isDirty()
isDirty in class org.eclipse.gef.commands.CommandStackpublic void redo()
redo in class org.eclipse.gef.commands.CommandStackpublic void undo()
undo in class org.eclipse.gef.commands.CommandStackpublic void commandStackChanged(java.util.EventObject event)
commandStackChanged in interface org.eclipse.emf.common.command.CommandStackListener