public interface IOsmDataManager
Modifier and Type | Method and Description |
---|---|
boolean |
containsDataSet(DataSet ds)
Determines if the list of data sets managed by JOSM contains
ds . |
DataSet |
getActiveDataSet()
Gets the active data set (can be read-only).
|
DataSet |
getEditDataSet()
Gets the active edit data set (not read-only).
|
java.util.Collection<? extends IPrimitive> |
getInProgressISelection()
Replies the current selected primitives, from a end-user point of view.
|
java.util.Collection<OsmPrimitive> |
getInProgressSelection()
Replies the current selected OSM primitives, from a end-user point of view.
|
void |
setActiveDataSet(DataSet ds)
Sets the active data set (and also edit data set if not read-only).
|
java.util.Collection<OsmPrimitive> getInProgressSelection()
OsmData.getSelected()
.null
.java.util.Collection<? extends IPrimitive> getInProgressISelection()
OsmData.getSelected()
.null
.DataSet getEditDataSet()
null
.getActiveDataSet()
DataSet getActiveDataSet()
null
.getEditDataSet()
void setActiveDataSet(DataSet ds)
ds
- New data set, or null
boolean containsDataSet(DataSet ds)
ds
.ds
- the data set to look fortrue
if the list of data sets managed by JOSM contains ds