Changeset 8808 in josm for trunk/src/org
- Timestamp:
- 2015-09-29T22:46:25+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
r8554 r8808 32 32 import org.openstreetmap.josm.gui.MapFrame; 33 33 import org.openstreetmap.josm.gui.MapView; 34 import org.openstreetmap.josm.gui.Notification; 34 35 import org.openstreetmap.josm.gui.layer.Layer; 35 36 import org.openstreetmap.josm.gui.layer.MapViewPaintable; … … 554 555 return true; 555 556 } catch (IllegalArgumentException e) { 556 // TODO: Not ideal feedback. Maybe changing the cursor could be a good mechanism? 557 JOptionPane.showMessageDialog( 558 Main.parent, 559 tr("ParallelWayAction\n" + 560 "The ways selected must form a simple branchless path"), 561 tr("Make parallel way error"), 562 JOptionPane.INFORMATION_MESSAGE); 557 new Notification(tr("ParallelWayAction\n" + 558 "The ways selected must form a simple branchless path")) 559 .setIcon(JOptionPane.INFORMATION_MESSAGE) 560 .show(); 563 561 // The error dialog prevents us from getting the mouseReleased event 564 562 resetMouseTrackingState();
Note:
See TracChangeset
for help on using the changeset viewer.