Package org.flexdock.perspective.event

Examples of org.flexdock.perspective.event.RegistrationEvent


    }

    public void addHandler(RestorationHandler handler) {
        if(handler!=null) {
            restorationHandlers.add(handler);
            EventManager.dispatch(new RegistrationEvent(handler, this, true));
        }
    }
View Full Code Here


    public boolean removeHandler(RestorationHandler handler) {
        boolean ret = false;
        if(handler!=null) {
            ret = restorationHandlers.remove(handler);
            if(ret)
                EventManager.dispatch(new RegistrationEvent(handler, this, false));
        }
        return ret;
    }
View Full Code Here

            // create and add dockingstateinfo here
            info = new DockingState(dockableId);
            dockingInfo.put(dockableId, info);
        }

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

        synchronized(dockingInfo) {
            info = (DockingState)dockingInfo.remove(dockableId);
        }
        // dispatch event notification if we actually removed something
        if(info!=null)
            EventManager.dispatch(new RegistrationEvent(info, this, false));
        return info;
    }
View Full Code Here

TOP

Related Classes of org.flexdock.perspective.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.