source: josm/trunk/src/org/openstreetmap/josm/actions/AbstractShowHistoryAction.java@ 16553

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

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

File size: 768 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 "History" actions in various parts of JOSM.
12 * @since 16495
13 */
14public abstract class AbstractShowHistoryAction extends AbstractAction {
15
16 /**
17 * Constructs a new {@code AbstractShowHistoryAction}.
18 */
19 protected AbstractShowHistoryAction() {
20 putValue(NAME, tr("History"));
21 putValue(SHORT_DESCRIPTION, tr("Download and show the history of the selected objects"));
22 new ImageProvider("dialogs", "history").getResource().attachImageIcon(this, true);
23 }
24}
Note: See TracBrowser for help on using the repository browser.