001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.actions; 003 004import javax.swing.Action; 005 006/** 007 * Interface to indicate that name (tooltip) and icon may be changed for an entry 008 * in the toolbar. 009 * <p> 010 * The name and icon of an {@link org.openstreetmap.josm.gui.preferences.ToolbarPreferences.ActionDefinition} 011 * is saved to the preferences when the wrapped action implements AdaptableAction. 012 * <p> 013 * The user will have options to change the name and icon in the 014 * {@link org.openstreetmap.josm.gui.preferences.ToolbarPreferences} when the action 015 * for the toolbar entry implements AdaptableAction. 016 */ 017public interface AdaptableAction extends Action { 018}