Index: /applications/editors/josm/plugins/canvec_helper/build.xml
===================================================================
--- /applications/editors/josm/plugins/canvec_helper/build.xml	(revision 32482)
+++ /applications/editors/josm/plugins/canvec_helper/build.xml	(revision 32483)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="JOSM/Canvec_helper: fixed a crash caused by osm directory being renamed to OSM"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="7248"/>
+    <property name="plugin.main.version" value="10279"/>
     
     <!-- Configure these properties (replace "..." accordingly).
Index: /applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java
===================================================================
--- /applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java	(revision 32482)
+++ /applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java	(revision 32483)
@@ -225,5 +225,5 @@
                     OsmImporterData temp = importer.loadLayer(rawtile, null, entry.getName(), null);
                     Main.worker.submit(temp.getPostLayerTask());
-                    Main.main.addLayer(temp.getLayer());
+                    Main.getLayerManager().addLayer(temp.getLayer());
                     temp.getLayer().data.setUploadDiscouraged(false);
                 }
Index: /applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelperAction.java
===================================================================
--- /applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelperAction.java	(revision 32482)
+++ /applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelperAction.java	(revision 32483)
@@ -14,5 +14,5 @@
     @Override
     public void actionPerformed(java.awt.event.ActionEvent action) {
-        Main.main.addLayer(new CanvecLayer("canvec tile helper",parentTemp));
+        Main.getLayerManager().addLayer(new CanvecLayer("canvec tile helper",parentTemp));
     }
 }
