Package org.flexdock.event

Examples of org.flexdock.event.RegistrationEvent


        // ID-caching)
        DockablePropertySet props = PropertyManager
                                    .getDockablePropertySet(dockable);

        // dispatch a registration event
        EventManager.dispatch(new RegistrationEvent(dockable,
                              DockingManager.SINGLETON, true));

        // return the dockable
        return dockable;
    }
View Full Code Here


        synchronized (DOCKABLES_BY_ID) {
            DOCKABLES_BY_ID.remove(dockable.getPersistentId());
        }

        // dispatch a registration event
        EventManager.dispatch(new RegistrationEvent(dockable,
                              DockingManager.SINGLETON, false));
    }
View Full Code Here

        m_perspectives.put(perspective.getPersistentId(), perspective);
        if(isDefault)
            setDefaultPerspective(perspective.getPersistentId());

        EventManager.dispatch(new RegistrationEvent(perspective, this, true));
    }
View Full Code Here

        //set defaultPerspective
        if(m_defaultPerspective.equals(perspectiveId))
            setDefaultPerspective(EMPTY_PERSPECTIVE);

        EventManager.dispatch(new RegistrationEvent(perspective, this, false));
    }
View Full Code Here

TOP

Related Classes of org.flexdock.event.RegistrationEvent

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.