Changeset 996 in josm


Ignore:
Timestamp:
Sep 19, 2008 7:20:47 PM (5 years ago)
Author:
framm
Message:
  • patch by Henry Loenwind to introduce new "create circle" action.
Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r968 r996  
    2222import org.openstreetmap.josm.actions.CombineWayAction; 
    2323import org.openstreetmap.josm.actions.CopyAction; 
     24import org.openstreetmap.josm.actions.CreateCircleAction; 
    2425import org.openstreetmap.josm.actions.DeleteAction; 
    2526import org.openstreetmap.josm.actions.DownloadAction; 
     
    102103        public final JosmAction alignInLine = new AlignInLineAction(); 
    103104        public final JosmAction alignInRect = new AlignInRectangleAction(); 
     105        public final JosmAction createCircle = new CreateCircleAction(); 
    104106        public final JosmAction mergeNodes = new MergeNodesAction(); 
    105107        public final JosmAction joinNodeWay = new JoinNodeWayAction(); 
     
    229231                current.setAccelerator(alignInRect.shortCut); 
    230232                toolsMenu.addSeparator(); 
     233                current = toolsMenu.add(createCircle); 
     234                current.setAccelerator(createCircle.shortCut); 
     235                toolsMenu.addSeparator(); 
    231236                current = toolsMenu.add(mergeNodes); 
    232237                current.setAccelerator(mergeNodes.shortCut); 
Note: See TracChangeset for help on using the changeset viewer.