Package de.ailis.xadrian.actions

Examples of de.ailis.xadrian.actions.CopyAction


        fileMenu.addSeparator();
        fileMenu.add(this.exitAction);

        // Create the 'Edit' menu
        final JMenu editMenu = I18N.createMenu(menuBar, "edit");
        editMenu.add(new CopyAction(this));
        editMenu.add(this.selectAllAction);
        editMenu.addSeparator();
        editMenu.add(this.preferencesAction);

        // Create the 'Complex' menu
View Full Code Here


        this.textPane.addHyperlinkListener(this);
        this.textPane.addCaretListener(this);

        // Create the popup menu for the text pane
        final JPopupMenu popupMenu = new JPopupMenu();
        popupMenu.add(new CopyAction(this));
        popupMenu.add(new SelectAllAction(this));
        popupMenu.addSeparator();
        popupMenu.add(new AddFactoryAction(this));
        popupMenu.add(new ChangeSectorAction(this.complex, this, "complex"));
        popupMenu.add(new ChangeSunsAction(this));
View Full Code Here

        this.textPane = textPane;
        textPane.addCaretListener(this);
        if (textPane.isEditable())
        {
            add(new CutAction(this));
            add(new CopyAction(this));
            add(new PasteAction(this));
            addSeparator();
            add(new SelectAllAction(this));
        }
        else
        {
            add(new CopyAction(this));
            add(new SelectAllAction(this));
        }
        SwingUtils.setPopupMenu(textPane, this);
    }
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.actions.CopyAction

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.