Ignore:
Timestamp:
2010-08-03T08:13:23+02:00 (14 years ago)
Author:
jttt
Message:

Adapt to latest josm

Location:
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java

    r21582 r22548  
    77
    88import java.awt.Color;
    9 import java.awt.Component;
    109import java.awt.Graphics2D;
    1110import java.awt.Point;
     
    1413
    1514import javax.swing.AbstractAction;
     15import javax.swing.Action;
    1616import javax.swing.Icon;
    1717import javax.swing.ImageIcon;
    18 import javax.swing.JMenuItem;
    19 import javax.swing.JSeparator;
    2018
    2119import org.openstreetmap.josm.Main;
     
    7371
    7472        @Override
    75         public Component[] getMenuEntries() {
    76                 return new Component[] {
    77                                 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
    78                                 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),
    79                                 new JSeparator(),
    80                                 new JMenuItem(layerImport),
    81                                 new JMenuItem(new ConvertToGpxLayerAction()),
    82                                 new JMenuItem(new ConvertToAnonTimeGpxLayerAction()),
    83                                 new JSeparator(),
    84                                 new JMenuItem(new LayerListPopup.InfoAction(this))};
     73        public Action[] getMenuEntries() {
     74                return new Action[] {
     75                                LayerListDialog.getInstance().createShowHideLayerAction(),
     76                                LayerListDialog.getInstance().createDeleteLayerAction(),
     77                                SeparatorLayerAction.INSTANCE,
     78                                layerImport,
     79                                new ConvertToGpxLayerAction(),
     80                                new ConvertToAnonTimeGpxLayerAction(),
     81                                SeparatorLayerAction.INSTANCE,
     82                                new LayerListPopup.InfoAction(this)};
    8583        }
    8684
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxPlugin.java

    r21474 r22548  
    2525 * TODO:
    2626 * - BUG: when importing eGpxLayer is shown as RawGpxLayer??
    27  * - BUG: after deletion of layer not all data is deleted (eg dataset)
    2827 * - implement reset if user made mistake while marking
    2928 *
Note: See TracChangeset for help on using the changeset viewer.