Last change
on this file since 8447 was 7949, checked in by Don-vip, 9 years ago |
fix #10933 - keep the same selection in selection dialog after cliking the "select" button + code refactoring/cleanup
|
File size:
751 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 | putValue(SMALL_ICON, ImageProvider.get("dialogs", "select"));
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.