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

Adapt to latest josm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/layer/GraphViewLayer.java

    r19054 r22547  
    33import java.awt.BasicStroke;
    44import java.awt.Color;
    5 import java.awt.Component;
    65import java.awt.Graphics;
    76import java.awt.Graphics2D;
     
    1312import java.util.List;
    1413
     14import javax.swing.Action;
    1515import javax.swing.Icon;
    16 import javax.swing.JMenuItem;
    17 import javax.swing.JSeparator;
    1816
    1917import org.openstreetmap.josm.Main;
     
    324322
    325323        @Override
    326         public Component[] getMenuEntries() {
    327                 return new Component[] { new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
    328                                 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)), new JSeparator(),
    329                                 new JMenuItem(new RenameLayerAction(null, this)), new JSeparator(),
    330                                 new JMenuItem(new LayerListPopup.InfoAction(this)) };
     324        public Action[] getMenuEntries() {
     325                return new Action[] {
     326                                LayerListDialog.getInstance().createShowHideLayerAction(),
     327                                LayerListDialog.getInstance().createDeleteLayerAction(),
     328                                SeparatorLayerAction.INSTANCE,
     329                                new RenameLayerAction(null, this),
     330                                SeparatorLayerAction.INSTANCE,
     331                                new LayerListPopup.InfoAction(this)};
    331332        }
    332333
Note: See TracChangeset for help on using the changeset viewer.