Examples of IService


Examples of org.locationtech.udig.catalog.IService

                    try {
                        if(text){
                          if(element instanceof IGeoResource) {
                            IGeoResource resource = (IGeoResource) element;
                            data.text = resource.getInfo(monitor).getTitle();
                            IService service = resource.service(monitor);
                            if( service != null ){
                                service.getPersistentProperties().put(resource.getID() + "_title", data.text);
                            }
                          } else if(element instanceof IService) {
                            IService service = (IService) element;
                            IServiceInfo info = service.getInfo(monitor);
                            if( info != null ){
                                data.text = info.getTitle();
                                service.getPersistentProperties().put("title", data.text);
                            }
                          } else if(element instanceof IProcess) {
                            IProcess proc = (IProcess) element;
                            data.text = proc.getInfo(monitor).getTitle();
                          } else if(element instanceof ISearch) {
View Full Code Here

Examples of org.locationtech.udig.catalog.IService

                                LayerImpl layer = (LayerImpl) firstElement;
                                geoResource = layer.getGeoResource();

                            }
                            if (firstElement instanceof IService) {
                                IService service = (IService) firstElement;
                                List< ? extends IGeoResource> resources = service.resources(new NullProgressMonitor());
                                if (resources.size() > 0) {
                                    geoResource = resources.get(0);
                                }
                            }
                            if (geoResource != null) {
View Full Code Here

Examples of org.locationtech.udig.catalog.IService

                        for( IService service : services ) {
                            Map<String, Serializable> params = new HashMap<String, Serializable>(service
                                    .getConnectionParams());
                            params.put(ShapefileDataStoreFactory.DBFCHARSET.key, newCharset.name());
                           
                            IService newService = extension.createService(service.getIdentifier(), params);
                            CatalogPlugin.getDefault().getLocalCatalog().replace(service.getID(), newService);
                        }
                    }
                   
                });
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.