Examples of ToggleDirtyAction


Examples of com.mxgraph.examples.swing.editor.EditorActions.ToggleDirtyAction

    submenu.add(editor.bind(mxResources.get("tolerance"),
        new PromptPropertyAction(graphComponent, "Tolerance")));

    submenu.add(editor.bind(mxResources.get("dirty"),
        new ToggleDirtyAction()));

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("zoom")));

    submenu.add(new TogglePropertyItem(graphComponent, mxResources
        .get("centerZoom"), "CenterZoom", true));
View Full Code Here

Examples of com.mxgraph.examples.swing.editor.EditorActions.ToggleDirtyAction

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("display")));
    submenu.add(new TogglePropertyItem(graphComponent, mxResources
        .get("buffering"), "TripleBuffered", true));
    submenu.add(editor.bind(mxResources.get("dirty"),
        new ToggleDirtyAction()));

    submenu.addSeparator();

    item = submenu.add(new TogglePropertyItem(graphComponent, mxResources
        .get("centerPage"), "CenterPage", true, new ActionListener()
View Full Code Here

Examples of com.mxgraph.examples.swing.editor.EditorActions.ToggleDirtyAction

    submenu.addSeparator();

    submenu.add(editor.bind(mxResources.get("tolerance"), new PromptPropertyAction(graphComponent, "Tolerance")));

    submenu.add(editor.bind(mxResources.get("dirty"), new ToggleDirtyAction()));

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("zoom")));

    submenu.add(new TogglePropertyItem(graphComponent, mxResources.get("centerZoom"), "CenterZoom", true));
    submenu.add(new TogglePropertyItem(graphComponent, mxResources.get("zoomToSelection"), "KeepSelectionVisibleOnZoom", true));
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.