Package org.openstreetmap.josm.actions
Interface AdaptableAction
-
- All Superinterfaces:
Action
,ActionListener
,EventListener
- All Known Subinterfaces:
ParameterizedAction
- All Known Implementing Classes:
AddImageryLayerAction
,SearchAction
,TaggingPreset
,TaggingPresetMenu
,TaggingPresetSeparator
public interface AdaptableAction extends 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.ActionDefinition
is saved to the preferences when the wrapped action implements AdaptableAction.The user will have options to change the name and icon in the
ToolbarPreferences
when the action for the toolbar entry implements AdaptableAction.
-
-
Field Summary
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Method Summary
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
-