Examples of AutoScaleAction


Examples of org.openstreetmap.josm.actions.AutoScaleAction

        MapScaler scaler = new MapScaler(MapView.this, Main.proj);
        add(scaler);
        scaler.setLocation(10, 30);

        if (!zoomToEditLayerBoundingBox())
          new AutoScaleAction("data").actionPerformed(null);

        new MapMover(MapView.this, Main.contentPane);
        JosmAction mv;
        mv = new MoveAction(MoveAction.Direction.UP);
        if (mv.getShortcut() != null) {
View Full Code Here

Examples of org.openstreetmap.josm.actions.AutoScaleAction

        viewMenu.addSeparator();
        add(viewMenu, new ZoomInAction());
        add(viewMenu, new ZoomOutAction());
        viewMenu.addSeparator();
        for (String mode : AutoScaleAction.MODES) {
            AutoScaleAction autoScaleAction = new AutoScaleAction(mode);
            autoScaleActions.put(mode, autoScaleAction);
            add(viewMenu, autoScaleAction);
        }

        // -- viewport follow toggle action
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.