Changeset 5452 in osm
- Timestamp:
- 2007-11-11T14:19:08+01:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/UtilsPlugin.java
r5449 r5452 21 21 22 22 public class UtilsPlugin extends Plugin { 23 JMenuItem JoinNodeWay;24 23 JMenuItem SimplifyWay; 25 24 … … 27 26 JosmAction action; 28 27 29 action = new JoinNodeWayAction();30 JoinNodeWay = Main.main.menu.toolsMenu.add(action);31 JoinNodeWay.setAccelerator(action.shortCut);32 JoinNodeWay.setEnabled(false);33 34 28 action = new SimplifyWayAction(); 35 29 SimplifyWay = Main.main.menu.toolsMenu.add(action); … … 41 35 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 42 36 if (oldFrame == null && newFrame != null) { 43 JoinNodeWay.setEnabled(true);44 37 SimplifyWay.setEnabled(true); 45 38 }
Note:
See TracChangeset
for help on using the changeset viewer.