Changeset 27810 in osm for applications/editors/josm/plugins/alignways/src
- Timestamp:
- 2012-02-16T21:27:51+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysAction.java
r27732 r27810 33 33 + "around a chosen pivot."), 34 34 Shortcut.registerShortcut("tools:alignways", tr("Tool: {0}", tr("Align Ways")), 35 KeyEvent.VK_SPACE, Shortcut.GROUP_DIRECT , Shortcut.SHIFT_DEFAULT)35 KeyEvent.VK_SPACE, Shortcut.GROUP_DIRECT+Shortcut.GROUPS_ALT1) 36 36 , true); 37 37 setEnabled(false); -
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepLength.java
r27619 r27810 11 11 import java.util.Map; 12 12 13 import javax.swing. JLabel;13 import javax.swing.Icon; 14 14 import javax.swing.JOptionPane; 15 15 import javax.swing.SwingConstants; … … 189 189 190 190 @Override 191 public JLabel getDescription() { 192 return new JLabel(tr("Align way segment"), ImageProvider.get("", 193 "alignways"), SwingConstants.HORIZONTAL); 191 public String getDescriptionText() { 192 return tr("Align way segment"); 193 } 194 195 @Override 196 public Icon getDescriptionIcon() { 197 return ImageProvider.get("alignways"); 194 198 } 195 199 -
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysMode.java
r27387 r27810 45 45 Shortcut.registerShortcut("mapmode:alignways", 46 46 tr("Mode: {0}", tr("Align Ways")), 47 KeyEvent.VK_N, Shortcut.GROUP_EDIT , Shortcut.SHIFT_DEFAULT),47 KeyEvent.VK_N, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1), 48 48 mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); 49 49 noneSelected = new AlignWaysSelNoneState();
Note:
See TracChangeset
for help on using the changeset viewer.