Changeset 16090 in josm for trunk/src/org
- Timestamp:
- 2020-03-08T20:20:36+01:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/layer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/layer/CycleLayerDownAction.java
r15923 r16090 28 28 private static final long serialVersionUID = 1L; 29 29 private static final Shortcut cycleDown = 30 Shortcut.registerShortcut("core:cyclelayerdown", tr("Cycle layer sdown"), KeyEvent.VK_CLOSE_BRACKET, Shortcut.SHIFT);30 Shortcut.registerShortcut("core:cyclelayerdown", tr("Cycle layer down"), KeyEvent.VK_CLOSE_BRACKET, Shortcut.SHIFT); 31 31 32 32 /** … … 34 34 */ 35 35 public CycleLayerDownAction() { 36 super(tr("Cycle layer s"), "dialogs/next", tr("Cycle through layers"), cycleDown, true, "cycle-layer", false);37 new ImageProvider("dialogs", " next").getResource().attachImageIcon(this, true);36 super(tr("Cycle layer down"), "dialogs/previous", tr("Cycle through data layers in a downward direction"), cycleDown, true, "cycle-layer-down", false); 37 new ImageProvider("dialogs", "previous").getResource().attachImageIcon(this, true); 38 38 putValue(SHORT_DESCRIPTION, tr("Cycle through visible layers.")); 39 39 putValue(NAME, tr("Cycle layers")); -
trunk/src/org/openstreetmap/josm/gui/dialogs/layer/CycleLayerUpAction.java
r15923 r16090 26 26 private static final long serialVersionUID = 1L; 27 27 private static final Shortcut cycleUp = 28 Shortcut.registerShortcut("core:cyclelayerup", tr("Cycle layer sup"), KeyEvent.VK_OPEN_BRACKET, Shortcut.SHIFT);28 Shortcut.registerShortcut("core:cyclelayerup", tr("Cycle layer up"), KeyEvent.VK_OPEN_BRACKET, Shortcut.SHIFT); 29 29 30 30 /** … … 32 32 */ 33 33 public CycleLayerUpAction() { 34 super(tr("Cycle layer up"), "dialogs/next", tr("Cycle up through layers"), cycleUp, true, "cycle-layer", false);34 super(tr("Cycle layer up"), "dialogs/next", tr("Cycle through data layers in an upward direction"), cycleUp, true, "cycle-layer-up", false); 35 35 new ImageProvider("dialogs", "next").getResource().attachImageIcon(this, true); 36 36 putValue(SHORT_DESCRIPTION, tr("Cycle through visible layers."));
Note:
See TracChangeset
for help on using the changeset viewer.