Changeset 12546 in josm for trunk/src/org/openstreetmap/josm/actions/ParameterizedActionDecorator.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/ParameterizedActionDecorator.java
r8510 r12546 9 9 import javax.swing.Action; 10 10 11 /** 12 * Action wrapper that delegates to a {@link ParameterizedAction} object using 13 * a specific set of parameters. 14 */ 11 15 public class ParameterizedActionDecorator implements Action { 12 16 … … 14 18 private final Map<String, Object> parameters; 15 19 20 /** 21 * Constructs a new ParameterizedActionDecorator. 22 * @param action the action that is invoked by this wrapper 23 * @param parameters parameters used for invoking the action 24 */ 16 25 public ParameterizedActionDecorator(ParameterizedAction action, Map<String, Object> parameters) { 17 26 this.action = action; … … 54 63 } 55 64 65 /** 66 * Get the parameters used to invoke the wrapped action. 67 * @return the parameters used to invoke the wrapped action 68 */ 56 69 public Map<String, Object> getParameters() { 57 70 return parameters;
Note:
See TracChangeset
for help on using the changeset viewer.