|
Last change
on this file since 10356 was 10356, checked in by stoecker, 10 years ago |
|
see #9995, see #10684 - remove more hardcoded places of images
|
-
Property svn:eol-style
set to
native
|
|
File size:
744 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().getImageIcon(this, true);
|
|---|
| 23 | }
|
|---|
| 24 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.