Interface IOsmDataManager

All Known Implementing Classes:
OsmDataManager

public interface IOsmDataManager
Global OSM dataset registry.
Since:
14143
  • 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 than OsmData.getSelected().
      Returns:
      The current selected OSM primitives, from a end-user point of view. Can be null.
    • getInProgressISelection

      Replies the current selected primitives, from a end-user point of view. It is not always technically the same collection of primitives than OsmData.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, or null
    • containsDataSet

      boolean containsDataSet(DataSet ds)
      Determines if the list of data sets managed by JOSM contains ds.
      Parameters:
      ds - the data set to look for
      Returns:
      true if the list of data sets managed by JOSM contains ds