Package org.woped.editor.action

Examples of org.woped.editor.action.WoPeDAction.actionPerformed()


    }

    public void quit()
    {
        WoPeDAction action = ActionFactory.getStaticAction(ActionFactory.ACTIONID_EXIT);
        action.actionPerformed(new ViewEvent(this, AbstractViewEvent.VIEWEVENTTYPE_GUI, AbstractViewEvent.EXIT));
        setExtendedState(NORMAL);
    }

    public Component getComponent()
    {
View Full Code Here


    public void internalFrameClosing(InternalFrameEvent e)
    {     
        IEditor editor = ((DefaultEditorFrame) e.getSource()).getEditor();
        WoPeDAction action = ActionFactory.getStaticAction(ActionFactory.ACTIONID_CLOSE);
        action.actionPerformed(new ViewEvent(editor, AbstractViewEvent.VIEWEVENTTYPE_GUI, AbstractViewEvent.CLOSE));

    }

    public void internalFrameDeactivated(InternalFrameEvent e)
    {
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.