예제 #1
0
파일: MapView.java 프로젝트: H-Theking/josm
 protected void fireLayerRemoved(Layer layer) {
   checkLayerLockNotHeld();
   for (MapView.LayerChangeListener l : MapView.layerChangeListeners) {
     l.layerRemoved(layer);
   }
 }
예제 #2
0
파일: MapView.java 프로젝트: H-Theking/josm
 protected void fireEditLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer) {
   checkLayerLockNotHeld();
   for (EditLayerChangeListener l : editLayerChangeListeners) {
     l.editLayerChanged(oldLayer, newLayer);
   }
 }
예제 #3
0
파일: MapView.java 프로젝트: H-Theking/josm
 /**
  * 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);
   }
 }