Changeset 2703 in josm for trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java
- Timestamp:
- 2009-12-29T23:48:24+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java
r2702 r2703 60 60 } 61 61 62 static public void openFile(File f) throws IOException, IllegalDataException { 63 for (FileImporter importer : ExtensionFileFilter.importers) 64 if (importer.acceptFile(f)) { 65 importer.importData(f); 66 } 67 } 68 62 69 static public class OpenFileTask extends PleaseWaitRunnable { 63 70 private List<File> files; … … 95 102 /** 96 103 * If the filter wasn't changed in the dialog, chosenImporter is null now. 97 * When the filter was exp icitly set to AllFormatsImporter, treat this the same.104 * When the filter was explicitly set to AllFormatsImporter, treat this the same. 98 105 */ 99 106 if (chosenImporter instanceof AllFormatsImporter) {
Note:
See TracChangeset
for help on using the changeset viewer.