public class DefaultDeleteMultipleNodesCommand extends AbstractCompoundCommand<DefaultDeleteNodeCommand>
DefaultTreeTableModel and the deleted child nodes
and their parent nodes are all implementors of the
IMutableTreeTableNode interface.INodeEditPolicy.isDeletable(Object,
com.dlsc.flexgantt.model.treetable.ITreeTableModel),
INodeEditPolicy.getDeleteNodesCommand(List,
com.dlsc.flexgantt.model.treetable.ITreeTableModel),
Serialized Form| Constructor and Description |
|---|
DefaultDeleteMultipleNodesCommand(List<Object> nodes,
DefaultTreeTableModel model)
Constructs a new command.
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getNodes()
Returns the list of nodes that are / were deleted.
|
addCommand, executeCommand, getCommand, getCommandCount, isRedoable, isUndoable, redoCommand, removeCommand, setCommands, undoCommandgetName, isRelevant, setNamepublic DefaultDeleteMultipleNodesCommand(List<Object> nodes, DefaultTreeTableModel model)
nodes - the child node that will be deletedmodel - the model to which the node belongsCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.