Ignore:
Timestamp:
2007-11-11T14:19:08+01:00 (17 years ago)
Author:
ulf
Message:

move "join node to way" function from UtilsPlugin to core

also remove Mergenodes code, it's already in the core for a while

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  
    2121
    2222public class UtilsPlugin extends Plugin {
    23         JMenuItem JoinNodeWay;
    2423        JMenuItem SimplifyWay;
    2524
     
    2726                JosmAction action;
    2827               
    29                 action = new JoinNodeWayAction();
    30                 JoinNodeWay = Main.main.menu.toolsMenu.add(action);
    31                 JoinNodeWay.setAccelerator(action.shortCut);
    32                 JoinNodeWay.setEnabled(false);
    33 
    3428                action = new SimplifyWayAction();
    3529                SimplifyWay = Main.main.menu.toolsMenu.add(action);
     
    4135        public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
    4236                if (oldFrame == null && newFrame != null) {
    43                         JoinNodeWay.setEnabled(true);
    4437                        SimplifyWay.setEnabled(true);
    4538                }
Note: See TracChangeset for help on using the changeset viewer.