Ignore:
Timestamp:
30.08.2009 19:07:24 (3 years ago)
Author:
Gubaer
Message:

removed OptionPaneUtil
cleanup of deprecated Layer API
cleanup of deprecated APIs in OsmPrimitive and Way
cleanup of imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java

    r1949 r2017  
    1616import org.openstreetmap.josm.data.osm.OsmPrimitive; 
    1717import org.openstreetmap.josm.gui.ExtendedDialog; 
    18 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    1918import org.openstreetmap.josm.gui.layer.GpxLayer; 
    2019import org.openstreetmap.josm.gui.layer.Layer; 
     
    6766            } 
    6867            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"), 
    7069                        JOptionPane.WARNING_MESSAGE); 
    7170                return false; 
     
    9089    public boolean checkSaveConditions(Layer layer) { 
    9190        if (layer == null) { 
    92             OptionPaneUtil.showMessageDialog( 
     91            JOptionPane.showMessageDialog( 
    9392                    Main.parent, 
    9493                    tr("Internal Error: cannot check conditions for no layer. Please report this as a bug."), 
     
    9998        } 
    10099        if (Main.map == null) { 
    101             OptionPaneUtil.showMessageDialog( 
     100            JOptionPane.showMessageDialog( 
    102101                    Main.parent, 
    103102                    tr("No document open so nothing to save."), 
Note: See TracChangeset for help on using the changeset viewer.