Changeset 16801 in osm for applications/editors/josm/plugins/measurement/src/org
- Timestamp:
- 2009-08-03T12:13:59+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java
r16294 r16801 94 94 @Override public Component[] getMenuEntries() { 95 95 return new Component[]{ 96 new JMenuItem( newLayerListDialog.ShowHideLayerAction(this)),96 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)), 97 97 // TODO: implement new JMenuItem(new LayerListDialog.DeleteLayerAction(this)), 98 98 new JSeparator(), … … 282 282 Layer layer = (Layer)value; 283 283 JLabel label = (JLabel)super.getListCellRendererComponent(list, 284 layer. name, index, isSelected, cellHasFocus);284 layer.getName(), index, isSelected, cellHasFocus); 285 285 Icon icon = layer.getIcon(); 286 286 label.setIcon(icon);
Note:
See TracChangeset
for help on using the changeset viewer.