Changeset 6130 in josm for trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
- Timestamp:
- 2013-08-10T12:06:25+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
r6084 r6130 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;6 6 7 7 import java.awt.event.ActionEvent; … … 25 25 import org.openstreetmap.josm.data.osm.OsmPrimitive; 26 26 import org.openstreetmap.josm.data.osm.Way; 27 import org.openstreetmap.josm.gui.Notification; 27 28 import org.openstreetmap.josm.tools.Geometry; 28 29 import org.openstreetmap.josm.tools.Shortcut; … … 138 139 139 140 if (nodes.size() < 4) { 140 JOptionPane.showMessageDialog( 141 Main.parent, 142 tr("Please select at least four nodes."), 143 tr("Information"), 144 JOptionPane.INFORMATION_MESSAGE 145 ); 141 new Notification( 142 tr("Please select at least four nodes.")) 143 .setIcon(JOptionPane.INFORMATION_MESSAGE) 144 .setDuration(Notification.TIME_SHORT) 145 .show(); 146 146 return; 147 147 }
Note:
See TracChangeset
for help on using the changeset viewer.
