Index: /applications/editors/josm/plugins/measurement/build.xml
===================================================================
--- /applications/editors/josm/plugins/measurement/build.xml	(revision 16800)
+++ /applications/editors/josm/plugins/measurement/build.xml	(revision 16801)
@@ -25,5 +25,5 @@
                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="Provide a measurement dialog and a layer to measure length and angle of segments, area surrounded by a (simple) closed way and create measurement paths (which also can be imported from a gps layer)."/>
-                <attribute name="Plugin-Mainversion" value="1725"/>
+                <attribute name="Plugin-Mainversion" value="1893"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: /applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java
===================================================================
--- /applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java	(revision 16800)
+++ /applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java	(revision 16801)
@@ -94,5 +94,5 @@
     @Override public Component[] getMenuEntries() {
         return new Component[]{
-            new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)),
+            new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
             // TODO: implement new JMenuItem(new LayerListDialog.DeleteLayerAction(this)),
             new JSeparator(),
@@ -282,5 +282,5 @@
                             Layer layer = (Layer)value;
                             JLabel label = (JLabel)super.getListCellRendererComponent(list,
-                                                                                      layer.name, index, isSelected, cellHasFocus);
+                                                                                      layer.getName(), index, isSelected, cellHasFocus);
                             Icon icon = layer.getIcon();
                             label.setIcon(icon);
