Package org.locationtech.udig.project.internal.impl

Examples of org.locationtech.udig.project.internal.impl.UDIGSimpleFeatureStore


                        selectedLayers = (List<DataStore>) active.getSelectedLayers();
                    } else if (tmp instanceof UDIGSimpleFeatureStore) {
                        List l = (List) active.getSelectedLayers();
                        List<DataStore> ll = new ArrayList<DataStore>();
                        for( Object object : l ) {
                            UDIGSimpleFeatureStore internal = (UDIGSimpleFeatureStore) object;
                            ll.add(internal.getDataStore());
                        }
                        selectedLayers = ll;
                    }
                } else {
                    selectedLayers = null;
View Full Code Here


        if( resource instanceof UDIGStore ){
            return resource;
        }
       
        if (requestedType.isAssignableFrom(SimpleFeatureStore.class)){
            return new UDIGSimpleFeatureStore(resource, layer);
        }
        return resource;
    }
View Full Code Here

        }
       
        if (requestedType.isAssignableFrom(SimpleFeatureStore.class) ||
                requestedType.isAssignableFrom(FeatureStore.class) ){
            if( resource instanceof SimpleFeatureStore){
                return new UDIGSimpleFeatureStore(resource, layer);
            }
            else {
                @SuppressWarnings("unchecked")
                FeatureStore<FeatureType,Feature> prep = (FeatureStore<FeatureType,Feature>) resource;
                return new UDIGFeatureStore( prep, layer);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.internal.impl.UDIGSimpleFeatureStore

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.