Changeset 5736 in josm
- Timestamp:
- 2013-02-20T22:54:35+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
r5686 r5736 45 45 "Select them and press the shortcut for Orthogonalize / Undo. The default is Shift-Q.)"); 46 46 47 /** 48 * Constructor 49 */ 47 50 public OrthogonalizeAction() { 48 51 super(tr("Orthogonalize Shape"), … … 78 81 */ 79 82 public static class Undo extends JosmAction { 83 /** 84 * Constructor 85 */ 80 86 public Undo() { 81 87 super(tr("Orthogonalize Shape / Undo"), "ortho", … … 177 183 } catch (InvalidUserInputException ex) { 178 184 if (ex.getMessage().equals("usage")) { 179 JOptionPane.showMessageDialog(185 ConditionalOptionPaneUtil.showMessageDialog("orthogonalize_usage", 180 186 Main.parent, 181 187 "<html><h2>" + tr("Usage") + "</h2>" + USAGE + "</html>", … … 184 190 } 185 191 else { 186 JOptionPane.showMessageDialog(192 ConditionalOptionPaneUtil.showMessageDialog("orthogonalize_error", 187 193 Main.parent, 188 194 "<html>" + ex.getMessage() + "<br><hr><h2>" + tr("Usage") + "</h2>" + USAGE + "</html>", … … 421 427 * Then sum up all horizontal / vertical segments to have a good guess for the 422 428 * heading of the entire way. 429 * @throws InvalidUserInputException 423 430 */ 424 431 public void calcDirections(Direction pInitialDirection) throws InvalidUserInputException {
Note:
See TracChangeset
for help on using the changeset viewer.