Last change
on this file since 13632 was 10378, checked in by Don-vip, 8 years ago |
Checkstyle 6.19: enable SingleSpaceSeparator and fix violations
|
-
Property svn:eol-style
set to
native
|
File size:
746 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.actions;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
5 |
|
---|
6 | import javax.swing.AbstractAction;
|
---|
7 |
|
---|
8 | import org.openstreetmap.josm.tools.ImageProvider;
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * Superclass of "Select" actions in various parts of JOSM.
|
---|
12 | * @since 7949
|
---|
13 | */
|
---|
14 | public abstract class AbstractSelectAction extends AbstractAction {
|
---|
15 |
|
---|
16 | /**
|
---|
17 | * Constructs a new {@code AbstractSelectAction}.
|
---|
18 | */
|
---|
19 | public AbstractSelectAction() {
|
---|
20 | putValue(NAME, tr("Select"));
|
---|
21 | putValue(SHORT_DESCRIPTION, tr("Set the selected elements on the map to the selected items in the list above."));
|
---|
22 | new ImageProvider("dialogs", "select").getResource().attachImageIcon(this, true);
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.