source: josm/trunk/src/org/openstreetmap/josm/actions/AbstractSelectAction.java@ 10356

Last change on this file since 10356 was 10356, checked in by stoecker, 8 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.
2package org.openstreetmap.josm.actions;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import javax.swing.AbstractAction;
7
8import org.openstreetmap.josm.tools.ImageProvider;
9
10/**
11 * Superclass of "Select" actions in various parts of JOSM.
12 * @since 7949
13 */
14public 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.