Package org.locationtech.udig.project.internal

Examples of org.locationtech.udig.project.internal.Folder.eAdapters()


         * @param msg
         */
        private void addListeners(Notification msg) {
            if (msg.getNewValue() instanceof Folder) {
                final Folder folder = (Folder) msg.getNewValue();
                folder.eAdapters().add(mapDeepListener);
            }
        }

        /**
         * Removes needed listeners to the event object.
View Full Code Here


         * @param msg
         */
        private void removeListeners(Notification msg) {
            if (msg.getOldValue() instanceof Folder) {
                final Folder folder = (Folder) msg.getOldValue();
                folder.eAdapters().remove(mapDeepListener);
            }
        }
       
        /**
         * Refresh the handlers and ui elements when a legend item is added/removed.
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.