Changeset 22550 in osm for applications/editors/josm/plugins/slippymap/src
- Timestamp:
- 2010-08-03T08:21:38+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapLayer.java
r21136 r22550 4 4 5 5 import java.awt.Color; 6 import java.awt.Component;7 6 import java.awt.Graphics; 8 7 import java.awt.Graphics2D; … … 21 20 22 21 import javax.swing.AbstractAction; 22 import javax.swing.Action; 23 23 import javax.swing.Icon; 24 24 import javax.swing.JCheckBoxMenuItem; 25 25 import javax.swing.JMenuItem; 26 26 import javax.swing.JPopupMenu; 27 import javax.swing.JSeparator;28 27 import javax.swing.SwingUtilities; 29 28 … … 44 43 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 45 44 import org.openstreetmap.josm.gui.MapView; 45 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 46 46 import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 47 47 import org.openstreetmap.josm.gui.dialogs.LayerListPopup; 48 48 import org.openstreetmap.josm.gui.layer.Layer; 49 49 import org.openstreetmap.josm.tools.ImageProvider; 50 import org.openstreetmap.josm.gui.MapView.LayerChangeListener;51 50 52 51 /** … … 993 992 994 993 @Override 995 public Component[] getMenuEntries() {996 return new Component[] {997 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),998 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),999 new JSeparator(),994 public Action[] getMenuEntries() { 995 return new Action[] { 996 LayerListDialog.getInstance().createShowHideLayerAction(), 997 LayerListDialog.getInstance().createDeleteLayerAction(), 998 SeparatorLayerAction.INSTANCE, 1000 999 // color, 1001 new JMenuItem(new RenameLayerAction(this.getAssociatedFile(), this)),1002 new JSeparator(),1003 new JMenuItem(new LayerListPopup.InfoAction(this)) };1000 new RenameLayerAction(this.getAssociatedFile(), this), 1001 SeparatorLayerAction.INSTANCE, 1002 new LayerListPopup.InfoAction(this) }; 1004 1003 } 1005 1004
Note:
See TracChangeset
for help on using the changeset viewer.