Changeset 30666 in osm for applications


Ignore:
Timestamp:
2014-09-22T22:02:34+02:00 (10 years ago)
Author:
donvip
Message:

[josm_sds] see #josm10024 - update to JOSM 7578

Location:
applications/editors/josm/plugins/sds
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/sds/build.xml

    r30416 r30666  
    55    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="7578"/>
    88
    99    <!--
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsDiskAccessAction.java

    r29854 r30666  
    1111import org.openstreetmap.josm.actions.DiskAccessAction;
    1212import org.openstreetmap.josm.gui.ExtendedDialog;
     13import org.openstreetmap.josm.gui.widgets.SwingFileChooser;
    1314import org.openstreetmap.josm.tools.Shortcut;
    1415
     
    2122        }
    2223
    23         public static JFileChooser createAndOpenFileChooser(boolean open, boolean multiple, String title) {
     24        public static SwingFileChooser createAndOpenFileChooser(boolean open, boolean multiple, String title) {
    2425        String curDir = Main.pref.get("lastDirectory");
    2526        if (curDir.equals("")) {
    2627            curDir = ".";
    2728        }
    28         JFileChooser fc = new JFileChooser(new File(curDir));
     29        SwingFileChooser fc = new SwingFileChooser(new File(curDir));
    2930        if (title != null) {
    3031            fc.setDialogTitle(title);
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsLoadAction.java

    r29854 r30666  
    1414import java.util.List;
    1515
    16 import javax.swing.JFileChooser;
    1716import javax.xml.parsers.ParserConfigurationException;
    1817import javax.xml.parsers.SAXParserFactory;
     
    2019import org.openstreetmap.josm.Main;
    2120import org.openstreetmap.josm.gui.PleaseWaitRunnable;
     21import org.openstreetmap.josm.gui.widgets.SwingFileChooser;
    2222import org.openstreetmap.josm.io.OsmTransferException;
    2323import org.xml.sax.InputSource;
     
    3535   
    3636    public void actionPerformed(ActionEvent e) {
    37         JFileChooser fc = createAndOpenFileChooser(true, true, null);
     37        SwingFileChooser fc = createAndOpenFileChooser(true, true, null);
    3838        if (fc == null)
    3939            return;
Note: See TracChangeset for help on using the changeset viewer.