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

Last change on this file since 17335 was 16553, checked in by Don-vip, 4 years ago

see #19334 - javadoc fixes + protected constructors for abstract classes

  • Property svn:eol-style set to native
File size: 741 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 protected AbstractSelectAction() {
20 putValue(NAME, tr("Select"));
21 putValue(SHORT_DESCRIPTION, tr("Selects those elements on the map which are chosen on the list above."));
22 new ImageProvider("dialogs", "select").getResource().attachImageIcon(this, true);
23 }
24}
Note: See TracBrowser for help on using the repository browser.