Package com.mxgraph.examples.swing.editor.EditorActions

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


    // Creates the file menu
    menu = add(new JMenu(mxResources.get("file")));

    menu.add(editor.bind(mxResources.get("new"), new NewAction(),
        "/com/mxgraph/examples/swing/images/new.gif"));
    menu.add(editor.bind(mxResources.get("openFile"), new OpenAction(),
        "/com/mxgraph/examples/swing/images/open.gif"));
    menu.add(editor.bind(mxResources.get("importStencil"), new ImportAction(),
        "/com/mxgraph/examples/swing/images/open.gif"));

    menu.addSeparator();
View Full Code Here


        .createEmptyBorder(3, 3, 3, 3), getBorder()));
    setFloatable(false);

    add(editor.bind("New", new NewAction(),
        "/com/mxgraph/examples/swing/images/new.gif"));
    add(editor.bind("Open", new OpenAction(),
        "/com/mxgraph/examples/swing/images/open.gif"));
    add(editor.bind("Save", new SaveAction(false),
        "/com/mxgraph/examples/swing/images/save.gif"));

    addSeparator();
View Full Code Here

    // Creates the file menu
    menu = add(new JMenu(mxResources.get("file")));

    menu.add(editor.bind(mxResources.get("new"), new NewAction(),
        "/com/mxgraph/examples/swing/images/new.gif"));
    menu.add(editor.bind(mxResources.get("openFile"), new OpenAction(),
        "/com/mxgraph/examples/swing/images/open.gif"));

    menu.addSeparator();

    menu.add(editor.bind(mxResources.get("save"), new SaveAction(false),
View Full Code Here

        .createEmptyBorder(3, 3, 3, 3), getBorder()));
    setFloatable(false);

    add(editor.bind("New", new NewAction(),
        "/com/mxgraph/examples/swing/images/new.gif"));
    add(editor.bind("Open", new OpenAction(),
        "/com/mxgraph/examples/swing/images/open.gif"));
    add(editor.bind("Save", new SaveAction(false),
        "/com/mxgraph/examples/swing/images/save.gif"));

    addSeparator();
View Full Code Here

    // Creates the file menu
    menu = add(new JMenu(mxResources.get("file")));

    menu.add(editor.bind(mxResources.get("new"), new NewAction(), "/com/mxgraph/examples/swing/images/new.gif"));
    menu.add(editor.bind(mxResources.get("openFile"), new OpenAction(), "/com/mxgraph/examples/swing/images/open.gif"));
    menu.add(editor.bind(mxResources.get("importStencil"), new ImportAction(), "/com/mxgraph/examples/swing/images/open.gif"));

    menu.addSeparator();

    menu.add(editor.bind(mxResources.get("save"), new SaveAction(false), "/com/mxgraph/examples/swing/images/save.gif"));
View Full Code Here

TOP

Related Classes of com.mxgraph.examples.swing.editor.EditorActions.OpenAction

Copyright © 2018 www.massapicom. 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.