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

    r2014 r2017  
    2323import org.openstreetmap.josm.data.osm.Way; 
    2424import org.openstreetmap.josm.gui.ConditionalOptionPaneUtil; 
    25 import org.openstreetmap.josm.gui.OptionPaneUtil; 
    2625import org.openstreetmap.josm.tools.Shortcut; 
    2726 
     
    6059            if(osm instanceof Node) { 
    6160                if(dirnodes.size() == 2) { 
    62                     OptionPaneUtil.showMessageDialog( 
     61                    JOptionPane.showMessageDialog( 
    6362                            Main.parent, 
    6463                            tr("Only two nodes allowed"), 
     
    7372            // Check if selection consists now only of ways 
    7473            if (!(osm instanceof Way)) { 
    75                 OptionPaneUtil.showMessageDialog( 
     74                JOptionPane.showMessageDialog( 
    7675                        Main.parent, 
    7776                        tr("Selection must consist only of ways."), 
     
    8584            Way way = (Way)osm; 
    8685            if ((way.getNodesCount() < 5) || !way.isClosed()) { 
    87                 OptionPaneUtil.showMessageDialog( 
     86                JOptionPane.showMessageDialog( 
    8887                        Main.parent, 
    8988                        tr("Please select one or more closed ways of at least four nodes."), 
     
    137136        // Check, if selection held neither none nor two nodes 
    138137        if(dirnodes.size() == 1) { 
    139             OptionPaneUtil.showMessageDialog( 
     138            JOptionPane.showMessageDialog( 
    140139                    Main.parent, 
    141140                    tr("Only one node selected"), 
Note: See TracChangeset for help on using the changeset viewer.