Changeset 22547 in osm for applications/editors/josm/plugins/measurement/src/org/openstreetmap
- Timestamp:
- 2010-08-03T08:11:51+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java
r19681 r22547 15 15 16 16 import javax.swing.AbstractAction; 17 import javax.swing.Action; 17 18 import javax.swing.Box; 18 19 import javax.swing.DefaultListCellRenderer; … … 24 25 import javax.swing.JLabel; 25 26 import javax.swing.JList; 26 import javax.swing.JMenuItem;27 27 import javax.swing.JOptionPane; 28 import javax.swing.JSeparator;29 28 30 29 import org.openstreetmap.josm.Main; … … 94 93 } 95 94 96 @Override public Component[] getMenuEntries() {97 return new Component[]{98 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),95 @Override public Action[] getMenuEntries() { 96 return new Action[]{ 97 LayerListDialog.getInstance().createShowHideLayerAction(), 99 98 // TODO: implement new JMenuItem(new LayerListDialog.DeleteLayerAction(this)), 100 new JSeparator(),101 new JMenuItem(new GPXLayerImportAction(this)),102 new JSeparator(),103 new JMenuItem(new LayerListPopup.InfoAction(this))};99 SeparatorLayerAction.INSTANCE, 100 new GPXLayerImportAction(this), 101 SeparatorLayerAction.INSTANCE, 102 new LayerListPopup.InfoAction(this)}; 104 103 } 105 104 … … 222 221 } 223 222 224 public static double OldangleBetween(LatLon p1, LatLon p2){223 public static double oldAngleBetween(LatLon p1, LatLon p2){ 225 224 double lat1, lon1, lat2, lon2; 226 225 double dlon, dlat;
Note:
See TracChangeset
for help on using the changeset viewer.