Changeset 22550 in osm for applications/editors/josm/plugins/validator/src
- Timestamp:
- 2010-08-03T08:21:38+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ErrorLayer.java ¶
r20828 r22550 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Component;7 6 import java.awt.Graphics2D; 8 7 import java.util.Enumeration; 9 8 import java.util.List; 10 9 10 import javax.swing.Action; 11 11 import javax.swing.Icon; 12 import javax.swing.JMenuItem;13 import javax.swing.JSeparator;14 12 import javax.swing.tree.DefaultMutableTreeNode; 15 13 … … 124 122 125 123 @Override 126 public Component[] getMenuEntries() { 127 return new Component[] { new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)), 128 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)), 129 new JSeparator(), 130 new JMenuItem(new RenameLayerAction(null, this)), new JSeparator(), 131 new JMenuItem(new LayerListPopup.InfoAction(this)) }; 124 public Action[] getMenuEntries() { 125 return new Action[] { 126 LayerListDialog.getInstance().createShowHideLayerAction(), 127 LayerListDialog.getInstance().createDeleteLayerAction(), 128 SeparatorLayerAction.INSTANCE, 129 new RenameLayerAction(null, this), 130 SeparatorLayerAction.INSTANCE, 131 new LayerListPopup.InfoAction(this) }; 132 132 } 133 133 -
TabularUnified applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java ¶
r20828 r22550 3 3 4 4 import java.awt.Color; 5 import java.awt.Component;6 5 import java.awt.Graphics; 7 6 import java.awt.Graphics2D; … … 9 8 import java.awt.geom.Point2D; 10 9 10 import javax.swing.Action; 11 11 import javax.swing.Icon; 12 import javax.swing.JMenuItem;13 import javax.swing.JSeparator;14 12 15 13 import org.openstreetmap.josm.Main; … … 123 121 124 122 @Override 125 public Component[] getMenuEntries()126 { 127 return new Component[]{128 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),129 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),130 new JSeparator(),131 new JMenuItem(newRenameLayerAction(null, this)),132 new JSeparator(),133 new JMenuItem(newLayerListPopup.InfoAction(this))};123 public Action[] getMenuEntries() 124 { 125 return new Action[] { 126 LayerListDialog.getInstance().createShowHideLayerAction(), 127 LayerListDialog.getInstance().createDeleteLayerAction(), 128 SeparatorLayerAction.INSTANCE, 129 new RenameLayerAction(null, this), 130 SeparatorLayerAction.INSTANCE, 131 new LayerListPopup.InfoAction(this)}; 134 132 } 135 133
Note:
See TracChangeset
for help on using the changeset viewer.