private static class DownloadOsmChangeTask.HistoryLoaderAndListener extends HistoryLoadTask implements HistoryDataSetListener
Modifier and Type | Field and Description |
---|---|
private Map<OsmPrimitive,Date> |
toLoad |
progressMonitor
Constructor and Description |
---|
DownloadOsmChangeTask.HistoryLoaderAndListener(Map<OsmPrimitive,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, realRun
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private final Map<OsmPrimitive,Date> toLoad
public DownloadOsmChangeTask.HistoryLoaderAndListener(Map<OsmPrimitive,Date> toLoad)
public void historyUpdated(HistoryDataSet source, PrimitiveId id)
HistoryDataSetListener
HistoryDataSet
if the cached history of an OSM primitive with
id id
is updatedhistoryUpdated
in interface HistoryDataSetListener
source
- the data set firing the eventid
- the id of the updated primitivepublic void historyDataSetCleared(HistoryDataSet source)
HistoryDataSetListener
HistoryDataSet
if the history cached is cleared.historyDataSetCleared
in interface HistoryDataSetListener
source
- the history data set firing the event