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/gui/dialogs/ConflictResolutionDialog.java

    r1990 r2017  
    2626import org.openstreetmap.josm.data.osm.OsmPrimitive; 
    2727import org.openstreetmap.josm.gui.DefaultNameFormatter; 
    28 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    2928import org.openstreetmap.josm.gui.conflict.pair.ConflictResolver; 
    3029import org.openstreetmap.josm.gui.conflict.pair.properties.OperationCancelledException; 
     
    194193                        tr("Close anyway"), 
    195194                        tr("Continue resolving")}; 
    196                 int ret = OptionPaneUtil.showOptionDialog(Main.parent, 
     195                int ret = JOptionPane.showOptionDialog(Main.parent, 
    197196                        tr("<html>You didn''t finish to merge the differences in this conflict.<br>" 
    198197                                + "Conflict resolutions won't be applied unless all differences<br>" 
     
    206205                        JOptionPane.YES_NO_OPTION, 
    207206                        JOptionPane.WARNING_MESSAGE, 
     207                        null, 
    208208                        options, 
    209209                        options[1] 
    210210                ); 
    211211                switch(ret) { 
    212                 case JOptionPane.YES_OPTION: 
    213                     setVisible(false); 
    214                     break; 
    215                 default: 
    216                     return; 
     212                    case JOptionPane.YES_OPTION: 
     213                        setVisible(false); 
     214                        break; 
     215                    default: 
     216                        return; 
    217217                } 
    218218            } 
Note: See TracChangeset for help on using the changeset viewer.