Package org.locationtech.udig.browser

Examples of org.locationtech.udig.browser.ExternalCatalogueImportDescriptor


        return null;
    }
   
    @Override
    public IWizardPage getNextPage() {
        ExternalCatalogueImportDescriptor id = this.selectedDescriptor;
        ExternalCatalogueImportPageDescriptor d;
        if(id instanceof ExternalCatalogueImportPageDescriptor) {
            d = (ExternalCatalogueImportPageDescriptor)id;
        } else {
            return null;
View Full Code Here


            super(parent, style);

            setContentProvider( ArrayContentProvider.getInstance());
            setLabelProvider(new LabelProvider() {
                public String getText(Object object) {
                    ExternalCatalogueImportDescriptor descriptor =
                            (ExternalCatalogueImportDescriptor) object;

                    return descriptor.getLabel();
                }

                public Image getImage(Object object) {
                    ExternalCatalogueImportDescriptor descriptor =
                            (ExternalCatalogueImportDescriptor) object;

                    String id = descriptor.getID();
                    ImageRegistry registry = UiPlugin.getDefault()
                            .getImageRegistry();
                    ImageDescriptor image = descriptor.getIcon();
                    synchronized (registry) {
                        if (registry.get(id) == null && image != null) {
                            registry.put(id, image);
                        }
                       
View Full Code Here

TOP

Related Classes of org.locationtech.udig.browser.ExternalCatalogueImportDescriptor

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.