Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java
- Timestamp:
- 30.08.2009 19:07:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java
r1949 r2017 16 16 import org.openstreetmap.josm.data.osm.OsmPrimitive; 17 17 import org.openstreetmap.josm.gui.ExtendedDialog; 18 import org.openstreetmap.josm.gui.OptionPaneUtil;19 18 import org.openstreetmap.josm.gui.layer.GpxLayer; 20 19 import org.openstreetmap.josm.gui.layer.Layer; … … 67 66 } 68 67 if (!exported) { 69 OptionPaneUtil.showMessageDialog(Main.parent, tr("No Exporter found! Nothing saved."), tr("Warning"),68 JOptionPane.showMessageDialog(Main.parent, tr("No Exporter found! Nothing saved."), tr("Warning"), 70 69 JOptionPane.WARNING_MESSAGE); 71 70 return false; … … 90 89 public boolean checkSaveConditions(Layer layer) { 91 90 if (layer == null) { 92 OptionPaneUtil.showMessageDialog(91 JOptionPane.showMessageDialog( 93 92 Main.parent, 94 93 tr("Internal Error: cannot check conditions for no layer. Please report this as a bug."), … … 99 98 } 100 99 if (Main.map == null) { 101 OptionPaneUtil.showMessageDialog(100 JOptionPane.showMessageDialog( 102 101 Main.parent, 103 102 tr("No document open so nothing to save."),
Note: See TracChangeset
for help on using the changeset viewer.
