Package | Description |
---|---|
org.eclipse.nebula.widgets.ganttchart | |
org.eclipse.nebula.widgets.ganttchart.undoredo | |
org.eclipse.nebula.widgets.ganttchart.undoredo.commands |
Modifier and Type | Method and Description |
---|---|
(package private) IUndoRedoCommand |
GanttEvent.getPostMoveOrResizeUndoCommand()
Call after a move/resize is done to get the command to undo/redo the latest move/resize
|
Modifier and Type | Method and Description |
---|---|
void |
UndoRedoListenerAdapter.commandRedone(IUndoRedoCommand command) |
void |
IUndoRedoListener.commandRedone(IUndoRedoCommand command)
Notified when a redo has taken place.
|
void |
UndoRedoListenerAdapter.commandUndone(IUndoRedoCommand command) |
void |
IUndoRedoListener.commandUndone(IUndoRedoCommand command)
Notified when an undo has taken place.
|
void |
GanttUndoRedoManager.record(IUndoRedoCommand command)
Records an undoable/redoable command
|
void |
UndoRedoListenerAdapter.undoableCommandAdded(IUndoRedoCommand command) |
void |
IUndoRedoListener.undoableCommandAdded(IUndoRedoCommand command)
When a command is added to the stack that can be undone this is called.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractUndoRedoCommand
Parent class of all Undo/Redo commands.
|
class |
ClusteredCommand
One command to handle many sub-commands, such as a multi-drag/drop etc.
|
class |
EventDeleteCommand
Represents one GanttEvent delete action that can be undone/redone.
|
class |
EventMoveCommand
Represents one GanttEvent DND action that can be undone/redone.
|
class |
EventResizeCommand
Represents one resize event in the chart that can be done/redone.
|
class |
SectionDeleteCommand
Represents one GanttSection delete action that can be undone/redone.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusteredCommand.addCommand(IUndoRedoCommand command)
Adds a new command to the cluster.
|
void |
ClusteredCommand.removeCommand(IUndoRedoCommand command)
Removes a command from the cluster.
|