Package org.openstreetmap.josm.data.osm
Interface IOsmDataManager
- All Known Implementing Classes:
OsmDataManager
public interface IOsmDataManager
Global OSM dataset registry.
- Since:
- 14143
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the list of data sets managed by JOSM containsds.Gets the active data set (can be read-only).Gets the active edit data set (not read-only).Collection<? extends IPrimitive>Replies the current selected primitives, from a end-user point of view.Replies the current selected OSM primitives, from a end-user point of view.voidSets the active data set (and also edit data set if not read-only).
-
Method Details
-
getInProgressSelection
Replies the current selected OSM primitives, from a end-user point of view. It is not always technically the same collection of primitives thanOsmData.getSelected().- Returns:
- The current selected OSM primitives, from a end-user point of view. Can be
null.
-
getInProgressISelection
Collection<? extends IPrimitive> getInProgressISelection()Replies the current selected primitives, from a end-user point of view. It is not always technically the same collection of primitives thanOsmData.getSelected().- Returns:
- The current selected primitives, from a end-user point of view. Can be
null.
-
getEditDataSet
Gets the active edit data set (not read-only).- Returns:
- That data set,
null. - See Also:
-
getActiveDataSet
Gets the active data set (can be read-only).- Returns:
- That data set,
null. - See Also:
-
setActiveDataSet
Sets the active data set (and also edit data set if not read-only).- Parameters:
ds- New data set, ornull
-
containsDataSet
Determines if the list of data sets managed by JOSM containsds.- Parameters:
ds- the data set to look for- Returns:
trueif the list of data sets managed by JOSM containsds
-