Changeset 22550 in osm for applications/editors/josm/plugins/openlayers/src/org
- Timestamp:
- 2010-08-03T08:21:38+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openlayers/src/org/openstreetmap/josm/plugins/openLayers/OpenLayersLayer.java
r19050 r22550 1 1 package org.openstreetmap.josm.plugins.openLayers; 2 2 3 import java.awt.Component;4 3 import java.awt.Dimension; 5 4 import java.awt.Graphics2D; … … 7 6 import java.beans.PropertyChangeListener; 8 7 8 import javax.swing.Action; 9 9 import javax.swing.Icon; 10 import javax.swing.JMenuItem;11 import javax.swing.JSeparator;12 10 13 11 import org.mozilla.javascript.NativeArray; … … 77 75 78 76 @Override 79 public Component[] getMenuEntries() {80 return new Component[] {81 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),82 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),83 new JSeparator(),77 public Action[] getMenuEntries() { 78 return new Action[] { 79 LayerListDialog.getInstance().createShowHideLayerAction(), 80 LayerListDialog.getInstance().createDeleteLayerAction(), 81 SeparatorLayerAction.INSTANCE, 84 82 // color, 85 new JMenuItem(newRenameLayerAction(getAssociatedFile(), this)),86 new JSeparator(),87 new JMenuItem(newLayerListPopup.InfoAction(this)) };83 new RenameLayerAction(getAssociatedFile(), this), 84 SeparatorLayerAction.INSTANCE, 85 new LayerListPopup.InfoAction(this) }; 88 86 } 89 87
Note:
See TracChangeset
for help on using the changeset viewer.