Changeset 5449 in osm for applications/editors


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

rename mergenodeway to joinnodeway, to reflect it's menu name

Location:
applications/editors/josm/plugins/utilsplugin
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/JoinNodeWayAction.java

    r5436 r5449  
    3131import javax.swing.AbstractAction;
    3232
    33 class MergeNodeWayAction extends JosmAction {
    34         public MergeNodeWayAction() {
    35             super(tr("Join node to way"), "mergenodeway",
     33class JoinNodeWayAction extends JosmAction {
     34        public JoinNodeWayAction() {
     35            super(tr("Join node to way"), "joinnodeway",
    3636                        tr("Join a node into the nearest way segments"), KeyEvent.VK_J, KeyEvent.CTRL_MASK | KeyEvent.SHIFT_MASK, true);
    3737        }
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/UtilsPlugin.java

    r5434 r5449  
    2121
    2222public class UtilsPlugin extends Plugin {
    23         JMenuItem MergeNodeWay;
     23        JMenuItem JoinNodeWay;
    2424        JMenuItem SimplifyWay;
    2525
     
    2727                JosmAction action;
    2828               
    29                 action = new MergeNodeWayAction();
    30                 MergeNodeWay = Main.main.menu.toolsMenu.add(action);
    31                 MergeNodeWay.setAccelerator(action.shortCut);
    32                 MergeNodeWay.setEnabled(false);
     29                action = new JoinNodeWayAction();
     30                JoinNodeWay = Main.main.menu.toolsMenu.add(action);
     31                JoinNodeWay.setAccelerator(action.shortCut);
     32                JoinNodeWay.setEnabled(false);
    3333
    3434                action = new SimplifyWayAction();
     
    4141        public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
    4242                if (oldFrame == null && newFrame != null) {
    43                         MergeNodeWay.setEnabled(true);
     43                        JoinNodeWay.setEnabled(true);
    4444                        SimplifyWay.setEnabled(true);
    4545                }
Note: See TracChangeset for help on using the changeset viewer.