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/downloadtasks/DownloadOsmTaskList.java

    r1979 r2017  
    2020import org.openstreetmap.josm.data.osm.DataSet; 
    2121import org.openstreetmap.josm.data.osm.OsmPrimitive; 
    22 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    2322import org.openstreetmap.josm.gui.download.DownloadDialog.DownloadTask; 
    2423import org.openstreetmap.josm.gui.layer.Layer; 
     
    105104 
    106105        if(! errors.equals("")) { 
    107             OptionPaneUtil.showMessageDialog( 
     106            JOptionPane.showMessageDialog( 
    108107                    Main.parent, 
    109108                    "<html>"+tr("The following errors occurred during mass download:{0}", errors) 
     
    187186        ); 
    188187 
    189         int ret =OptionPaneUtil.showOptionDialog( 
     188        int ret =JOptionPane.showOptionDialog( 
    190189                Main.parent, 
    191190                message, 
     
    193192                JOptionPane.YES_NO_OPTION, 
    194193                JOptionPane.WARNING_MESSAGE, 
     194                null, 
    195195                options, 
    196196                options[0] 
    197197        ); 
    198198        switch(ret) { 
    199         case JOptionPane.CLOSED_OPTION: return; 
    200         case JOptionPane.NO_OPTION: return; 
    201         case JOptionPane.YES_OPTION: updatePotentiallyDeletedPrimitives(potentiallyDeleted); break; 
     199            case JOptionPane.CLOSED_OPTION: return; 
     200            case JOptionPane.NO_OPTION: return; 
     201            case JOptionPane.YES_OPTION: updatePotentiallyDeletedPrimitives(potentiallyDeleted); break; 
    202202        } 
    203203    } 
Note: See TracChangeset for help on using the changeset viewer.