private static class DownloadOsmChangeTask.HistoryLoaderAndListener extends HistoryLoadTask implements HistoryDataSetListener
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<OsmPrimitive,java.util.Date> |
toLoad |
progressMonitor| Constructor and Description |
|---|
HistoryLoaderAndListener(java.util.Map<OsmPrimitive,java.util.Date> toLoad) |
| Modifier and Type | Method and Description |
|---|---|
void |
historyDataSetCleared(HistoryDataSet source)
Fired by a
HistoryDataSet if the history cached is cleared. |
void |
historyUpdated(HistoryDataSet source,
PrimitiveId id)
Fired by a
HistoryDataSet if the cached history of an OSM primitive with
id id is updated |
add, add, add, add, add, add, cancel, finish, getLastException, isCanceled, realRunafterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate final java.util.Map<OsmPrimitive,java.util.Date> toLoad
public HistoryLoaderAndListener(java.util.Map<OsmPrimitive,java.util.Date> toLoad)
public void historyUpdated(HistoryDataSet source, PrimitiveId id)
HistoryDataSetListenerHistoryDataSet if the cached history of an OSM primitive with
id id is updatedhistoryUpdated in interface HistoryDataSetListenersource - the data set firing the eventid - the id of the updated primitivepublic void historyDataSetCleared(HistoryDataSet source)
HistoryDataSetListenerHistoryDataSet if the history cached is cleared.historyDataSetCleared in interface HistoryDataSetListenersource - the history data set firing the event