Package org.locationtech.udig.catalog.internal.wmt

Examples of org.locationtech.udig.catalog.internal.wmt.WMTService


     * @param sourceClass The class for which the service should be created.
     */
    private void addWMTSourceToTree( TreeItem treeItem, Class< ? extends WMTSource> sourceClass, WMTWizardControl controlFactory ) {
        TreeItem newTreeItem = new TreeItem(treeItem, SWT.NONE);

        WMTService service = serviceExtension.createService(sourceClass);

        newTreeItem.setText(service.getName());

        WMTWizardTreeItemData data = new WMTWizardTreeItemData(service, controlFactory);
        newTreeItem.setData(data);
        // newTreeItem.setData(service);
    }
View Full Code Here


    private volatile String previewStyleId;
 
    @Override
    public IService getService() {
        URL url = WMTSource.getCloudMadeServiceUrl(getSelectedStyleId());       
        WMTService service = serviceExtension.createService(url, serviceExtension.createParams(url));
       
        return service;
    }
View Full Code Here

    public void buildWizardTree(TreeItem treeItem) {
        NASAControl controlFactory = new NASAControl();
        try {
            List<?> tiledGroups = tiledPatterns.getChildren("TiledGroup"); //$NON-NLS-1$
           
            WMTService service = serviceExtension.createService(NASASource.class);
            List<IGeoResource> geoResources = service.emptyResourcesList(null);
            geoResources.clear();
           

            WMTWizardTreeItemData data = new WMTWizardTreeItemData(service, controlFactory);
            treeItem.setData(data);
View Full Code Here

                }
            }
        }

        URL url = WMTSource.getCustomServerServiceUrl(urlString, zoomMin, zoomMax, isTMS ? "TMS" : null);
        WMTService service = serviceExtension.createService(url, serviceExtension.createParams(url));
        return service;
    }
View Full Code Here

                    spZoomMin.getText(),
                    spZoomMax.getText(),
                    typeButton.getSelection() ? "TMS" : null
                    );     
           
            WMTService service = serviceExtension.createService(url, serviceExtension.createParams(url));
           
            return service;
        }
        
        return null;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.internal.wmt.WMTService

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.