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 DataSet
ds
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
CommandQueueCleanedEvent(UndoRedoHandler source, DataSet ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
fire(UndoRedoHandler.CommandQueuePreciseListener listener)
Calls the appropriate method of the listener for this event.DataSet
getDataSet()
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.CommandQueueEvent
Calls the appropriate method of the listener for this event.- Specified by:
fire
in classUndoRedoHandler.CommandQueueEvent
- Parameters:
listener
- dataset listener to notify about this event
-
-