Ejemplo n.º 1
0
 protected void fireLayerRemoved(Layer layer) {
   checkLayerLockNotHeld();
   for (MapView.LayerChangeListener l : MapView.layerChangeListeners) {
     l.layerRemoved(layer);
   }
 }
Ejemplo n.º 2
0
 protected void fireEditLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer) {
   checkLayerLockNotHeld();
   for (EditLayerChangeListener l : editLayerChangeListeners) {
     l.editLayerChanged(oldLayer, newLayer);
   }
 }
Ejemplo n.º 3
0
 /**
  * Calls the {@link LayerChangeListener#activeLayerChange(Layer, Layer)} method of all listeners.
  *
  * @param oldLayer The old layer
  * @param newLayer The new active layer.
  */
 protected void fireActiveLayerChanged(Layer oldLayer, Layer newLayer) {
   checkLayerLockNotHeld();
   for (LayerChangeListener l : layerChangeListeners) {
     l.activeLayerChange(oldLayer, newLayer);
   }
 }