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

Updated to JOSM release 1893

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.