Package org.openstreetmap.josm.actions
Interface AdaptableAction
-
- All Superinterfaces:
javax.swing.Action,java.awt.event.ActionListener,java.util.EventListener
- All Known Subinterfaces:
ParameterizedAction
- All Known Implementing Classes:
AddImageryLayerAction,SearchAction,TaggingPreset,TaggingPresetMenu,TaggingPresetSeparator
public interface AdaptableAction extends javax.swing.Action
Interface to indicate that name (tooltip) and icon may be changed for an entry in the toolbar.The name and icon of an
ToolbarPreferences.ActionDefinitionis saved to the preferences when the wrapped action implements AdaptableAction.The user will have options to change the name and icon in the
ToolbarPreferenceswhen the action for the toolbar entry implements AdaptableAction.