Ignore:
Timestamp:
2008-04-17T03:03:28+02:00 (16 years ago)
Author:
framm
Message:
  • new extrude mode allows creation of rectangular shapes
  • new AlignInRectangle function
  • additional information in status bar about length, heading, and angle of segment being drawn
  • helper line from last node to mouse cursor (disable with edit.helper-line=false)
File:
1 edited

Legend:

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

    r563 r608  
    1 // License: GPL. Copyright 2007 by Immanuel Scholz and others
     1// License: GPL. See LICENSE file for details.
     2
    23package org.openstreetmap.josm.gui;
    34
     
    1415
    1516import org.openstreetmap.josm.Main;
     17import org.openstreetmap.josm.actions.AlignInRectangleAction;
    1618import org.openstreetmap.josm.actions.JosmAction;
    1719import org.openstreetmap.josm.actions.AboutAction;
     
    9395        public final JosmAction alignInCircle = new AlignInCircleAction();
    9496        public final JosmAction alignInLine = new AlignInLineAction();
     97        public final JosmAction alignInRect = new AlignInRectangleAction();
    9598        public final JosmAction mergeNodes = new MergeNodesAction();
    9699        public final JosmAction joinNodeWay = new JoinNodeWayAction();
     
    207210                current = toolsMenu.add(alignInLine);
    208211                current.setAccelerator(alignInLine.shortCut);
     212                current = toolsMenu.add(alignInRect);
     213                current.setAccelerator(alignInRect.shortCut);
    209214                toolsMenu.addSeparator();
    210215                current = toolsMenu.add(mergeNodes);
Note: See TracChangeset for help on using the changeset viewer.