Examples of ZoomOutAction


Examples of org.eclipse.gef.ui.actions.ZoomOutAction

    zoomLevels.add(ZoomManager.FIT_WIDTH);
    zoomLevels.add(ZoomManager.FIT_HEIGHT);
    rootEditPart.getZoomManager().setZoomLevelContributions(zoomLevels);

    IAction zoomIn = new ZoomInAction(rootEditPart.getZoomManager());
    IAction zoomOut = new ZoomOutAction(rootEditPart.getZoomManager());
    getActionRegistry().registerAction(zoomIn);
    getActionRegistry().registerAction(zoomOut);
    getSite().getKeyBindingService().registerAction(zoomIn);
    getSite().getKeyBindingService().registerAction(zoomOut);
    getGraphicalViewer().setProperty(MouseWheelHandler.KeyGenerator.getKey(SWT.MOD1),
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ZoomOutAction

    zoomLevels.add(ZoomManager.FIT_WIDTH);
    zoomLevels.add(ZoomManager.FIT_HEIGHT);
    root.getZoomManager().setZoomLevelContributions(zoomLevels);

    IAction zoomIn = new ZoomInAction(root.getZoomManager());
    IAction zoomOut = new ZoomOutAction(root.getZoomManager());
    getActionRegistry().registerAction(zoomIn);
    getActionRegistry().registerAction(zoomOut);
    getActionRegistry().registerAction(new ExportAction(this));
    getSite().getKeyBindingService().registerAction(zoomIn);
    getSite().getKeyBindingService().registerAction(zoomOut);
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ZoomOutAction

    root.getZoomManager().setZoomLevelContributions(zoomLevels);
    root.getZoomManager().setZoomLevels(
        new double[] { 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1,
            1.5, 2, 2.5, 3 });
    IAction zoomIn = new ZoomInAction(root.getZoomManager());
    IAction zoomOut = new ZoomOutAction(root.getZoomManager());
    getActionRegistry().registerAction(zoomIn);
    getActionRegistry().registerAction(zoomOut);

    getActionRegistry().registerAction(new ExportAction(this));
    getSite().getKeyBindingService().registerAction(zoomIn);
View Full Code Here

Examples of org.geotools.swing.action.ZoomOutAction

                btn = new JButton(new ZoomInAction(mapPane));
                btn.setName(TOOLBAR_ZOOMIN_BUTTON_NAME);
                toolBar.add(btn);
                cursorToolGrp.add(btn);

                btn = new JButton(new ZoomOutAction(mapPane));
                btn.setName(TOOLBAR_ZOOMOUT_BUTTON_NAME);
                toolBar.add(btn);
                cursorToolGrp.add(btn);

                toolBar.addSeparator();
View Full Code Here

Examples of org.geotools.swt.action.ZoomOutAction

        // drawAction = new DrawShapeAction();
        infoAction = new InfoAction();
        panAction = new PanAction();
        resetAction = new ResetAction();
        zoominAction = new ZoomInAction();
        zoomoutAction = new ZoomOutAction();
        openShapeAction = new OpenShapefileAction();
        openCoverageAction = new OpenGeotiffAction();

        toolSet = new HashSet<Tool>();
        toolSet.addAll(EnumSet.allOf(Tool.class));
View Full Code Here

Examples of org.openstreetmap.josm.actions.ZoomOutAction

        wireFrameToggleAction.addButtonModel(wireframe.getModel());

        viewMenu.add(new MapPaintMenu());
        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);
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.