Examples of acquireValue()


Examples of org.locationtech.udig.tool.info.LayerPointInfo.acquireValue()

            if (info.getMimeType() == null) {
                getDetails().showPage(information);
            } else if (info.getMimeType().startsWith(LayerPointInfo.GML)) {
                getDetails().showPage(featureDisplay.getControl());
                try {
                    SimpleFeature feature = (SimpleFeature) info.acquireValue();
                    FeaturePropertySource src = new FeaturePropertySource(feature);
                    StructuredSelection sel = new StructuredSelection(src);
                    featureDisplay.selectionChanged(null, sel);
                } catch(IOException ex) {
                    InfoPlugin.log("GML value could not be acquired.", ex); //$NON-NLS-1$
View Full Code Here

Examples of org.locationtech.udig.tool.info.LayerPointInfo.acquireValue()

   
    LayerPointInfo hit = WMSDescribeLayer.info2(this.layers.get(0), bbox);
   
    assertNotNull(hit);
   
    Object value = hit.acquireValue();
   
    assertNotNull(value);
   
    assertTrue(value.equals("SUCCESS"));
   
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.