Changeset 32287 in osm for applications/editors/josm/plugins/ImportImagePlugin/src/org
- Timestamp:
- 2016-06-16T23:05:20+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/ImportImagePlugin.java
r31751 r32287 56 56 * 57 57 * @param info 58 */ 59 public ImportImagePlugin(PluginInformation info){ 58 * @throws IOException if any I/O error occurs 59 */ 60 public ImportImagePlugin(PluginInformation info) throws IOException{ 60 61 super(info); 61 62 … … 86 87 if (Main.main != null) { 87 88 MainMenu.add(Main.main.menu.imagerySubMenu, loadFileAction); 88 89 // add menu entries 90 //Main.main.menu.fileMenu.insert(loadFileAction, 8); 91 //Main.main.menu.fileMenu.insertSeparator(9); 92 } 93 94 ExtensionFileFilter.importers.add(new ImportImageFileImporter()); 95 96 } catch (Exception e) { 89 } 90 91 ExtensionFileFilter.addImporter(new ImportImageFileImporter()); 92 93 } catch (IOException e) { 97 94 logger.fatal("Error while loading plugin", e); 98 try { 99 throw e; 100 } catch (Exception e1) { 101 e1.printStackTrace(); 102 } 95 throw e; 103 96 } 104 97
Note:
See TracChangeset
for help on using the changeset viewer.