Package org.locationtech.udig.catalog.util

Examples of org.locationtech.udig.catalog.util.GeotoolsResourceInfoAdapter


    @Override
    protected IGeoResourceInfo createInfo( IProgressMonitor monitor ) throws IOException {
        DataStore dataStore = getDataStore(monitor);
        FeatureSource<SimpleFeatureType, SimpleFeature> fs = dataStore.getFeatureSource(typename);
        ResourceInfo gtinfo = fs.getInfo();
        GeotoolsResourceInfoAdapter vectorInfo = new GeotoolsResourceInfoAdapter(gtinfo);

        // IResolveDelta delta = new ResolveDelta(this, IResolveDelta.Kind.CHANGED);
        // ((CatalogImpl) CatalogPlugin.getDefault().getLocalCatalog())
        // .fire(new ResolveChangeEvent(this, IResolveChangeEvent.Type.POST_CHANGE, delta));
        return vectorInfo;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.util.GeotoolsResourceInfoAdapter

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.