Changeset 16801 in osm for applications
- Timestamp:
- 2009-08-03T12:13:59+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/measurement
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/build.xml
r16294 r16801 25 25 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 26 26 <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="1 725"/>27 <attribute name="Plugin-Mainversion" value="1893"/> 28 28 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 29 29 </manifest> -
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( new LayerListDialog.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.