Package org.openstreetmap.josm.data.osm
Interface Lockable
-
- All Known Subinterfaces:
OsmData<O,N,W,R>
- All Known Implementing Classes:
AbstractModifiableLayer
,AbstractOsmDataLayer
,AdvancedPreference.UnclearableOsmDataLayer
,CorrelationSupportLayer
,DataSet
,GeoImageLayer
,GpxLayer
,GpxRouteLayer
,NoteLayer
,OsmDataLayer
,VectorDataSet
,WikimediaCommonsLayer
public interface Lockable
To be implemented by modifiable objects to offer a "read-only/locked" mode.- Since:
- 13453
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLocked()
Determines if this is read-only/locked (thus it cannot be modified).void
lock()
Enables the read-only/locked mode.void
unlock()
Disables the read-only/locked mode.
-