Ignore:
Timestamp:
2009-08-03T12:13:59+02:00 (15 years ago)
Author:
guggis
Message:

Updated to JOSM release 1893

Location:
applications/editors/josm/plugins/measurement
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/measurement/build.xml

    r16294 r16801  
    2525                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    2626                <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)."/>
    27                 <attribute name="Plugin-Mainversion" value="1725"/>
     27                <attribute name="Plugin-Mainversion" value="1893"/>
    2828                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    2929            </manifest>
  • applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java

    r16294 r16801  
    9494    @Override public Component[] getMenuEntries() {
    9595        return new Component[]{
    96             new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)),
     96            new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
    9797            // TODO: implement new JMenuItem(new LayerListDialog.DeleteLayerAction(this)),
    9898            new JSeparator(),
     
    282282                            Layer layer = (Layer)value;
    283283                            JLabel label = (JLabel)super.getListCellRendererComponent(list,
    284                                                                                       layer.name, index, isSelected, cellHasFocus);
     284                                                                                      layer.getName(), index, isSelected, cellHasFocus);
    285285                            Icon icon = layer.getIcon();
    286286                            label.setIcon(icon);
Note: See TracChangeset for help on using the changeset viewer.