public static class mxGraphSelectionModel.mxSelectionChange extends java.lang.Object implements mxUndoableEdit.mxUndoableChange
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<java.lang.Object> |
added |
protected mxGraphSelectionModel |
model |
protected java.util.Collection<java.lang.Object> |
removed |
Constructor and Description |
---|
mxSelectionChange(mxGraphSelectionModel model,
java.util.Collection<java.lang.Object> added,
java.util.Collection<java.lang.Object> removed) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Undoes or redoes the change depending on its undo state.
|
protected mxGraphSelectionModel model
protected java.util.Collection<java.lang.Object> added
protected java.util.Collection<java.lang.Object> removed
public mxSelectionChange(mxGraphSelectionModel model, java.util.Collection<java.lang.Object> added, java.util.Collection<java.lang.Object> removed)
model
- added
- removed
- public void execute()
mxUndoableEdit.mxUndoableChange
execute
in interface mxUndoableEdit.mxUndoableChange
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.