Package org.openstreetmap.josm.data
Class UndoRedoHandler.CommandQueueCleanedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
-
- org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueCleanedEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- UndoRedoHandler
public static final class UndoRedoHandler.CommandQueueCleanedEvent extends UndoRedoHandler.CommandQueueEvent
Event fired after the command queue has been cleaned.- Since:
- 13729
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private DataSetdsprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateCommandQueueCleanedEvent(UndoRedoHandler source, DataSet ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidfire(UndoRedoHandler.CommandQueuePreciseListener listener)Calls the appropriate method of the listener for this event.DataSetgetDataSet()Returns the affected dataset.-
Methods inherited from class org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
getSource
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CommandQueueCleanedEvent
private CommandQueueCleanedEvent(UndoRedoHandler source, DataSet ds)
-
-
Method Detail
-
getDataSet
public DataSet getDataSet()
Returns the affected dataset.- Returns:
- the affected dataset, or null if the queue has been globally emptied
-
fire
void fire(UndoRedoHandler.CommandQueuePreciseListener listener)
Description copied from class:UndoRedoHandler.CommandQueueEventCalls the appropriate method of the listener for this event.- Specified by:
firein classUndoRedoHandler.CommandQueueEvent- Parameters:
listener- dataset listener to notify about this event
-
-