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/ApiPreconditionChecker.java

    r1885 r2017  
    1616import org.openstreetmap.josm.data.osm.Way; 
    1717import org.openstreetmap.josm.gui.ExceptionDialogUtil; 
    18 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    1918import org.openstreetmap.josm.io.OsmApi; 
    2019import org.openstreetmap.josm.io.OsmApiInitializationException; 
     
    4948                total = add.size() + update.size() + delete.size(); 
    5049                if(total > maxElements) { 
    51                     OptionPaneUtil.showMessageDialog( 
     50                    JOptionPane.showMessageDialog( 
    5251                            Main.parent, 
    5352                            tr("Current number of changes exceeds the max. number of changes, current is {0}, max is {1}", 
     
    8483                        continue; 
    8584                    } 
    86                     OptionPaneUtil.showMessageDialog(Main.parent, 
     85                    JOptionPane.showMessageDialog(Main.parent, 
    8786                            tr("Length of value for tag ''{0}'' on primitive {1} exceeds the max. allowed length {2}. Values length is {3}.", 
    8887                                    e.getKey(), Long.toString(osmPrimitive.id), 255, e.getValue().length() 
     
    10099            if (osmPrimitive instanceof Way && 
    101100                    ((Way)osmPrimitive).getNodesCount() > maxNodes) { 
    102                 OptionPaneUtil.showMessageDialog( 
     101                JOptionPane.showMessageDialog( 
    103102                        Main.parent, 
    104103                        tr("{0} nodes in way {1} exceed the max. allowed number of nodes {2}", 
Note: See TracChangeset for help on using the changeset viewer.