Package org.openstreetmap.josm.actions
Class JosmAction.ActiveLayerChangeAdapter
java.lang.Object
org.openstreetmap.josm.actions.JosmAction.ActiveLayerChangeAdapter
- All Implemented Interfaces:
MainLayerManager.ActiveLayerChangeListener
- Enclosing class:
- JosmAction
protected class JosmAction.ActiveLayerChangeAdapter
extends Object
implements MainLayerManager.ActiveLayerChangeListener
Adapter for layer change events. Runs updateEnabledState() whenever the active layer changed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever the active or edit layer changed.toString()
-
Constructor Details
-
ActiveLayerChangeAdapter
protected ActiveLayerChangeAdapter()
-
-
Method Details
-
activeOrEditLayerChanged
Description copied from interface:MainLayerManager.ActiveLayerChangeListenerCalled whenever the active or edit layer changed.You can be sure that this layer is still contained in this set.
Listeners are called in the EDT thread and you can manipulate the layer manager in the current thread.
- Specified by:
activeOrEditLayerChangedin interfaceMainLayerManager.ActiveLayerChangeListener- Parameters:
e- The change event.
-
toString
-