|
Last change
on this file since 19519 was 19519, checked in by stoecker, 6 days ago |
|
unify eol-style
|
-
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 "History" actions in various parts of JOSM.
|
|---|
| 12 | * @since 16495
|
|---|
| 13 | */
|
|---|
| 14 | public 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.