Last change
on this file since 3718 was 3175, checked in by jttt, 14 years ago |
Allow to set parameters for actions on toolbar. Used by SearchAction to set searching expression (see #4546)
|
-
Property svn:mime-type
set to
text/plain
|
File size:
381 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.actions;
|
---|
3 |
|
---|
4 | import java.awt.event.ActionEvent;
|
---|
5 | import java.util.List;
|
---|
6 | import java.util.Map;
|
---|
7 |
|
---|
8 | import javax.swing.Action;
|
---|
9 |
|
---|
10 | public interface ParameterizedAction extends Action {
|
---|
11 |
|
---|
12 | List<ActionParameter<?>> getActionParameters();
|
---|
13 | void actionPerformed(ActionEvent e, Map<String, Object> parameters);
|
---|
14 |
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.