Changeset 22548 in osm for applications/editors/josm/plugins/openstreetbugs/src
- Timestamp:
- 2010-08-03T08:13:23+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java
r20682 r22548 30 30 import static org.openstreetmap.josm.tools.I18n.tr; 31 31 32 import java.awt.Component;33 32 import java.awt.Dimension; 34 33 import java.awt.Graphics2D; … … 42 41 import java.util.List; 43 42 43 import javax.swing.Action; 44 44 import javax.swing.Icon; 45 45 import javax.swing.ImageIcon; 46 import javax.swing.JMenuItem;47 import javax.swing.JSeparator;48 46 import javax.swing.JToolTip; 49 47 … … 74 72 private static ImageIcon iconError = OsbPlugin.loadIcon("icon_error16.png"); 75 73 private static ImageIcon iconValid = OsbPlugin.loadIcon("icon_valid16.png"); 76 74 77 75 private OsbDialog dialog; 78 76 … … 100 98 101 99 @Override 102 public Component[] getMenuEntries() {103 return new Component[]{104 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),105 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),106 new JSeparator(),107 new JMenuItem(newRenameLayerAction(null, this)),108 new JSeparator(),109 new JMenuItem(newLayerListPopup.InfoAction(this))};100 public Action[] getMenuEntries() { 101 return new Action[]{ 102 LayerListDialog.getInstance().createShowHideLayerAction(), 103 LayerListDialog.getInstance().createDeleteLayerAction(), 104 SeparatorLayerAction.INSTANCE, 105 new RenameLayerAction(null, this), 106 SeparatorLayerAction.INSTANCE, 107 new LayerListPopup.InfoAction(this)}; 110 108 } 111 109 … … 272 270 273 271 public void mouseExited(MouseEvent e) {} 274 272 275 273 public DataSet getDataSet() { 276 274 return data;
Note:
See TracChangeset
for help on using the changeset viewer.