- Timestamp:
- 2009-12-29T23:48:24+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 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) { -
trunk/src/org/openstreetmap/josm/io/FileImporter.java
r2702 r2703 26 26 27 27 /** 28 * A batch importer is a file importer that prefer es to read multiple files at the same time.28 * A batch importer is a file importer that prefers to read multiple files at the same time. 29 29 */ 30 30 public boolean isBatchImporter() {
Note:
See TracChangeset
for help on using the changeset viewer.