Changeset 12546 in josm for trunk/src/org/openstreetmap/josm/actions/ParameterizedAction.java
- Timestamp:
- 2017-07-31T11:38:47+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ParameterizedAction.java
r8510 r12546 6 6 import java.util.Map; 7 7 8 /** 9 * Interface for (toolbar-)actions that have additional parameters which need 10 * to be saved to the preferences (and loaded back). 11 */ 8 12 public interface ParameterizedAction extends AdaptableAction { 9 13 14 /** 15 * Get the list of parameters that describe the action. 16 * @return the list of parameters that describe the action 17 */ 10 18 List<ActionParameter<?>> getActionParameters(); 11 19 20 /** 21 * Invoke action using the given parameters. 22 * @param e the ActionEvent 23 * @param parameters parameter map 24 */ 12 25 void actionPerformed(ActionEvent e, Map<String, Object> parameters); 13 26 }
Note:
See TracChangeset
for help on using the changeset viewer.