Ignore:
Timestamp:
2017-07-31T11:38:47+02:00 (7 years ago)
Author:
bastiK
Message:

see #14794 - javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ParameterizedActionDecorator.java

    r8510 r12546  
    99import javax.swing.Action;
    1010
     11/**
     12 * Action wrapper that delegates to a {@link ParameterizedAction} object using
     13 * a specific set of parameters.
     14 */
    1115public class ParameterizedActionDecorator implements Action {
    1216
     
    1418    private final Map<String, Object> parameters;
    1519
     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     */
    1625    public ParameterizedActionDecorator(ParameterizedAction action, Map<String, Object> parameters) {
    1726        this.action = action;
     
    5463    }
    5564
     65    /**
     66     * Get the parameters used to invoke the wrapped action.
     67     * @return the parameters used to invoke the wrapped action
     68     */
    5669    public Map<String, Object> getParameters() {
    5770        return parameters;
Note: See TracChangeset for help on using the changeset viewer.