Examples of AdaptableFeature


Examples of org.locationtech.udig.project.AdaptableFeature

        List<SimpleFeature> list = new ArrayList<SimpleFeature>();
        FeatureIterator<SimpleFeature> reader = results.features();
        try {
            while( reader.hasNext() ) {
                if( monitor != null && monitor.isCanceled() ) return list;               
                list.add( new AdaptableFeature( reader.next(), layer) );
            }
        }
        finally {
            reader.close();
        }
View Full Code Here

Examples of org.locationtech.udig.project.AdaptableFeature

                || ILabelProvider.class.isAssignableFrom(adapterType))
            return new FeatureViewerProvider();

        if (IAdaptable.class.isAssignableFrom(adapterType)) {
            if (SimpleFeature.class.isAssignableFrom(adaptableObject.getClass()))
                return new AdaptableFeature((SimpleFeature) adaptableObject);
        }
        return null;
    }
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.