Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/actions/ApiPreconditionChecker.java
- Timestamp:
- 30.08.2009 19:07:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ApiPreconditionChecker.java
r1885 r2017 16 16 import org.openstreetmap.josm.data.osm.Way; 17 17 import org.openstreetmap.josm.gui.ExceptionDialogUtil; 18 import org.openstreetmap.josm.gui.OptionPaneUtil;19 18 import org.openstreetmap.josm.io.OsmApi; 20 19 import org.openstreetmap.josm.io.OsmApiInitializationException; … … 49 48 total = add.size() + update.size() + delete.size(); 50 49 if(total > maxElements) { 51 OptionPaneUtil.showMessageDialog(50 JOptionPane.showMessageDialog( 52 51 Main.parent, 53 52 tr("Current number of changes exceeds the max. number of changes, current is {0}, max is {1}", … … 84 83 continue; 85 84 } 86 OptionPaneUtil.showMessageDialog(Main.parent,85 JOptionPane.showMessageDialog(Main.parent, 87 86 tr("Length of value for tag ''{0}'' on primitive {1} exceeds the max. allowed length {2}. Values length is {3}.", 88 87 e.getKey(), Long.toString(osmPrimitive.id), 255, e.getValue().length() … … 100 99 if (osmPrimitive instanceof Way && 101 100 ((Way)osmPrimitive).getNodesCount() > maxNodes) { 102 OptionPaneUtil.showMessageDialog(101 JOptionPane.showMessageDialog( 103 102 Main.parent, 104 103 tr("{0} nodes in way {1} exceed the max. allowed number of nodes {2}",
Note: See TracChangeset
for help on using the changeset viewer.
