Changeset 26293 in osm


Ignore:
Timestamp:
2011-07-10T11:33:11+02:00 (13 years ago)
Author:
zverik
Message:

remove debug from reltoolbox, also split adjacent ways action in utilsplugin2

Location:
applications/editors/josm/plugins
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/ChosenRelation.java

    r26290 r26293  
    101101        // todo: dim chosen relation when changing layer
    102102        // todo: check this WTF!
    103         System.out.println("editLayerChanged() oldLayer=" + oldLayer + ", newLayer=" + newLayer);
    104103        clear();
    105104        if( newLayer != null && oldLayer == null ) {
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/UtilsPlugin2.java

    r26279 r26293  
    3434    JMenuItem pasteRelations;
    3535    JMenuItem alignWayNodes;
     36    JMenuItem splitOnIntersections;
    3637    JMenuItem selModifiedNodes;
    3738    JMenuItem selModifiedWays;
     
    5152        pasteRelations = MainMenu.add(toolsMenu, new PasteRelationsAction());
    5253        alignWayNodes = MainMenu.add(toolsMenu, new AlignWayNodesAction());
     54        splitOnIntersections = MainMenu.add(toolsMenu, new SplitOnIntersectionsAction());
    5355
    5456        JMenu selectionMenu = Main.main.menu.addMenu(marktr("Selection"), KeyEvent.VK_N, Main.main.menu.defaultMenuPos, "help");
     
    7981        pasteRelations.setEnabled(enabled);
    8082        alignWayNodes.setEnabled(enabled);
     83        splitOnIntersections.setEnabled(enabled);
    8184
    8285        selectWayNodes.setEnabled(enabled);
Note: See TracChangeset for help on using the changeset viewer.