Changeset 33047 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
- Timestamp:
- 2016-10-30T21:24:41+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
r32556 r33047 199 199 super(info); 200 200 Main.info("Pluging cadastre-fr v"+VERSION+" started..."); 201 initCacheDir(); 202 203 refreshConfiguration(); 204 205 UploadAction.registerUploadHook(new CheckSourceUploadHook()); 206 207 registerSessionLayerExporter(WMSLayer.class, CadastreSessionExporter.class); 208 registerSessionLayerImporter("cadastre-fr", CadastreSessionImporter.class); 209 } 210 211 private static void initCacheDir() { 201 212 if (Main.pref.get("cadastrewms.cacheDir").isEmpty()) { 202 213 cacheDir = new File(Main.pref.getCacheDirectory(), "cadastrewms").getAbsolutePath(); … … 207 218 cacheDir += File.separatorChar; 208 219 Main.info("current cache directory: "+cacheDir); 209 210 refreshConfiguration();211 212 UploadAction.registerUploadHook(new CheckSourceUploadHook());213 214 registerSessionLayerExporter(WMSLayer.class, CadastreSessionExporter.class);215 registerSessionLayerImporter("cadastre-fr", CadastreSessionImporter.class);216 220 } 217 221 … … 357 361 JMenuItem item = cadastreJMenu.getItem(i); 358 362 if (item != null) 359 if (item.getText().equals(MenuActionGrabPlanImage. name) /*||363 if (item.getText().equals(MenuActionGrabPlanImage.NAME) /*|| 360 364 item.getText().equals(MenuActionGrab.name) || 361 365 item.getText().equals(MenuActionBoundaries.name) ||
Note:
See TracChangeset
for help on using the changeset viewer.
