Changeset 32018 in osm for applications
- Timestamp:
- 2016-01-23T19:07:19+01:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/UtilsPlugin2.java
r30862 r32018 14 14 import org.openstreetmap.josm.plugins.utilsplugin2.actions.AddIntersectionsAction; 15 15 import org.openstreetmap.josm.plugins.utilsplugin2.actions.AlignWayNodesAction; 16 import org.openstreetmap.josm.plugins.utilsplugin2.actions.CopyTagsAction; 16 17 import org.openstreetmap.josm.plugins.utilsplugin2.actions.ExtractPointAction; 17 18 import org.openstreetmap.josm.plugins.utilsplugin2.actions.PasteRelationsAction; … … 48 49 public class UtilsPlugin2 extends Plugin { 49 50 50 private static UtilsPlugin2 instance; 51 private static UtilsPlugin2 instance; 52 53 JMenuItem copyTags; 51 54 52 55 JMenuItem unglueRelation; … … 88 91 instance = this; 89 92 93 JMenu editMenu = Main.main.menu.editMenu; 90 94 JMenu toolsMenu = Main.main.menu.moreToolsMenu; 91 95 JMenu dataMenu = Main.main.menu.dataMenu; 92 96 JMenu selectionMenu = Main.main.menu.selectionMenu; 97 98 copyTags = MainMenu.addAfter(editMenu, new CopyTagsAction(), false, Main.main.menu.copy); 93 99 94 100 addIntersections = MainMenu.add(toolsMenu, new AddIntersectionsAction()); … … 173 179 174 180 public static final UtilsPlugin2 getInstance() { 175 181 return instance; 176 182 } 177 183 }
Note:
See TracChangeset
for help on using the changeset viewer.