public class UndoStackSupport
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
logger |
Constructor and Description |
---|
UndoStackSupport()
Construct a ProjectionStackSupport.
|
Modifier and Type | Method and Description |
---|---|
void |
add(UndoStackTrigger pt)
Add a ProjectionStackTrigger.
|
void |
fireStackStatus(UndoEvent undoEvent,
UndoEvent redoEvent)
Send a status to all registered triggers.
|
java.util.ArrayList<UndoStackTrigger> |
getTriggers()
Return a cloned list of Triggers.
|
void |
remove(UndoStackTrigger pt)
Remove a ProjectionStackTrigger.
|
int |
size() |
public void add(UndoStackTrigger pt)
pt
- ProjectionStackTriggerpublic void remove(UndoStackTrigger pt)
pt
- ProjectionStackTriggerpublic java.util.ArrayList<UndoStackTrigger> getTriggers()
public int size()
public void fireStackStatus(UndoEvent undoEvent, UndoEvent redoEvent)
undoEvent
- the next event for undo, so the GUI can be updated with
what will happen on undo.redoEvent
- the next event for redo, so the GUI can be updated with
what will happen on redo.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details