Changeset 3704 in josm


Ignore:
Timestamp:
2010-12-07T12:06:59+01:00 (8 years ago)
Author:
bastiK
Message:

added multipoly plugin to josm core. authors: bilbo and Viesturs Zarins (extropy)

Location:
trunk
Files:
4 added
2 edited

Legend:

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

    r3678 r3704  
    2525import org.openstreetmap.josm.actions.CopyAction;
    2626import org.openstreetmap.josm.actions.CreateCircleAction;
     27import org.openstreetmap.josm.actions.CreateMultipolygonAction;
    2728import org.openstreetmap.josm.actions.DeleteAction;
    2829import org.openstreetmap.josm.actions.DistributeAction;
     
    135136    /* View menu */
    136137    public final JosmAction toggleGPXLines = new ToggleGPXLinesAction();
     138    public final InfoAction info = new InfoAction();
     139    public final HistoryInfoAction historyinfo = new HistoryInfoAction();
    137140
    138141    /* Tools menu */
     
    154157    public final JosmAction simplifyWay = new SimplifyWayAction();
    155158    public final JosmAction joinAreas = new JoinAreasAction();
    156     public final InfoAction info = new InfoAction();
    157     public final HistoryInfoAction historyinfo = new HistoryInfoAction();
     159    public final JosmAction createMultipolygon = new CreateMultipolygonAction();
    158160
    159161    /* Audio menu */
     
    319321        add(toolsMenu, joinNodeWay);
    320322        add(toolsMenu, unglueNodes);
     323        toolsMenu.addSeparator();
    321324        add(toolsMenu, joinAreas);
     325        add(toolsMenu, createMultipolygon);
    322326
    323327        if (!Main.pref.getBoolean("audio.menuinvisible", false)) {
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r3672 r3704  
    8989            {"usertools", IN_CORE},
    9090            {"AgPifoJ", IN_CORE}, {"utilsplugin", IN_CORE}, {"ghost", IN_CORE},
    91             {"validator", IN_CORE}}) {
     91            {"validator", IN_CORE}, {"multipoly", IN_CORE}}) {
    9292            DEPRECATED_PLUGINS.put(depr[0], depr.length >= 2 ? depr[1] : null);
    9393        }
Note: See TracChangeset for help on using the changeset viewer.