Package org.locationtech.udig.tool.info

Examples of org.locationtech.udig.tool.info.CoveragePointInfo


            sb.append(gridCoord.y);
            sb.append("\n");
        } else {
            sb.append("Selected point is outside of coverage region.");
        }
        CoveragePointInfo info = new CoveragePointInfo(layer){
            public String getInfo() {
                return sb.toString();
            }
        };
        return info;
View Full Code Here


            } else {
                    getDetails().showPage(information);
            }
        }       
        if (selection instanceof CoveragePointInfo) {
            CoveragePointInfo info = (CoveragePointInfo) selection;
            information.setText(info.getInfo());
            getDetails().showPage(information);
        }       
   
    }
View Full Code Here

                }
                continue;
            }           
            if( layer.hasResource( GridCoverage.class ) ) {
                try {
                    CoveragePointInfo hit = CoverageDescribeLayer.info2( layer, request.bbox, monitor );
                    if( hit != null ) set.add( hit );
                }
                catch( Throwable t ) {
                    InfoPlugin.log( "Information request "+layer.getName()+" failed "+t, t ); //$NON-NLS-1$ //$NON-NLS-2$
                }
View Full Code Here

            if( object instanceof LayerPointInfo ){
                LayerPointInfo info=(LayerPointInfo) object;
                layer = info.getLayer();
            }
            if (object instanceof CoveragePointInfo) {
                CoveragePointInfo info = (CoveragePointInfo) object;
                layer = info.getLayer();
            }
            if( object instanceof AdaptableFeature ){
                AdaptableFeature feature=(AdaptableFeature) object;
                layer=(ILayer) feature.getAdapter(ILayer.class);
            }
View Full Code Here

            else if (element instanceof LayerPointInfo) {
                LayerPointInfo info = (LayerPointInfo) element;                   
                return info.getLayer().getName();
            }
            else if (element instanceof CoveragePointInfo) {
                CoveragePointInfo info = (CoveragePointInfo) element;                   
                return info.getLayer().getName();
            }
            return super.getText(element);
        }
View Full Code Here

            if( element instanceof LayerPointInfo){
                LayerPointInfo info = (LayerPointInfo) element;
                layer = info.getLayer();
            }
            if( element instanceof CoveragePointInfo){
                CoveragePointInfo info = (CoveragePointInfo) element;
                layer = info.getLayer();
            }
            String key = layer.getID().toExternalForm();               
            Image image = registry.get( key );
            if( image == null ){
                ImageDescriptor icon;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tool.info.CoveragePointInfo

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.