Package org.flexdock.perspective.event

Examples of org.flexdock.perspective.event.PerspectiveEvent


        synchronized(this) {
            setCurrentPerspectiveName(perspectiveId);
            if(reset) {
                perspective.reset(rootPort);
                EventManager.dispatch(new PerspectiveEvent(perspective, current,
                                      PerspectiveEvent.RESET));
            } else {
                perspective.load(rootPort);
                EventManager.dispatch(new PerspectiveEvent(perspective, current,
                                      PerspectiveEvent.CHANGED));
            }
        }

        EventQueue.invokeLater(new Runnable() {
View Full Code Here


            m_initalSequence.apply(port);

            Layout layout = getLayout();
            if(layout!=null) {
                layout.update(m_initalSequence);
                EventManager.getInstance().dispatchEvent(new PerspectiveEvent(this, null, PerspectiveEvent.RESET));
            }
        }
    }
View Full Code Here

    public void load(DockingPort port) {
        Layout layout = getLayout();
        if(layout.isInitialized()) {
            layout.apply(port);
            EventManager.getInstance().dispatchEvent(new PerspectiveEvent(this, null, PerspectiveEvent.RESET));
        } else {
            reset(port);
        }
    }
View Full Code Here

TOP

Related Classes of org.flexdock.perspective.event.PerspectiveEvent

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.