Package org.locationtech.udig.project.geoselection

Examples of org.locationtech.udig.project.geoselection.IGeoSelection


            HashMap<String, IGeoSelectionEntry> selectionBag = (HashMap<String, IGeoSelectionEntry>)currentMap.getBlackBoardInternal().get(PLATFORM_SELECTION_BAG);
            for( Entry<String, IGeoSelectionEntry> entry : selectionBag.entrySet() ) {
                String context = entry.getKey();
                IGeoSelectionEntry selectionEntry = entry.getValue();
               
                IGeoSelection oldSelection = selectionEntry.getSelection();
                GeoSelectionChangedEvent<Map> event = new GeoSelectionChangedEvent<Map>(context,
                        currentMap, oldSelection, null);

                fireSelectionChanged(event);
               
View Full Code Here


        if (currentMap != null) {

            HashMap<String, IGeoSelectionEntry> selectionBag = (HashMap<String, IGeoSelectionEntry>)currentMap.getBlackBoardInternal().get(PLATFORM_SELECTION_BAG);
            GeoSelectionEntry entry = (GeoSelectionEntry)selectionBag.get(context);
           
            IGeoSelection oldSelection = null;
           
            if(entry == null && selection != null){
                /*
                 * We need to create new IGeoSelectionEntry and reinitialize cache
                 * selection data structure.
View Full Code Here

           
            IGeoSelectionEntry entry = selectionBag.get(context);
            if(entry == null)
                return null;
           
            IGeoSelection selection = entry.getSelection();
            return selection;
//            Object selectionObj = selectionBag.get(context);
//            if (selectionObj != null && selectionObj instanceof IGeoSelection) {
//                IGeoSelection selection = (IGeoSelection) selectionObj;
//                return selection;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.geoselection.IGeoSelection

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.