Package org.locationtech.udig.browser

Examples of org.locationtech.udig.browser.ExternalCatalogueImportPageDescriptor


    }
   
    @Override
    public IWizardPage getNextPage() {
        ExternalCatalogueImportDescriptor id = this.selectedDescriptor;
        ExternalCatalogueImportPageDescriptor d;
        if(id instanceof ExternalCatalogueImportPageDescriptor) {
            d = (ExternalCatalogueImportPageDescriptor)id;
        } else {
            return null;
        }
//        if (d == null) {
//            if (descriptors != null && descriptors.size() == 1)
//                d = descriptors.get(0);
//        }
       
        if (d != null) {
            try {
                IDataWizard wizard = (IDataWizard) getWizard();

                ExternalCatalogueImportPage page = getPageCache().get(d);
                if (page == null) {
                    page = d.createImportPage();
                    getPageCache().put(d, page);
                }
                wizard.init((WizardPage) page);

                return page;
View Full Code Here


        public void process(IExtension extension, IConfigurationElement element)
                throws Exception {
            IConfigurationElement[] childs =
                    element.getChildren("externalCataloguePage"); //$NON-NLS-1$
            if(childs.length > 0) {
                ExternalCatalogueImportPageDescriptor d =
                        new ExternalCatalogueImportPageDescriptor(element);
                this.descriptors.add(d);
            }
        }
View Full Code Here

TOP

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

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.