Package org.jitterbit.application.ui.wizard

Examples of org.jitterbit.application.ui.wizard.WizardPage


        return pages.isAutoMapSelected();
    }

    @Override
    public final boolean canFinish() {
        WizardPage page = getCurrentPage();
        if (page != null && page.canContinue()) {
            WizardPageChain chain = getPageChain();
            return chain.canFinish(page);
        }
        return false;
    }
View Full Code Here


    }

    @Override
    public WizardPage getNextPage() {
        CacheKey key = new CacheKey(relations);
        WizardPage page = getCachedNextPage(key);
        if (page == null) {
            page = createNewNextPage(key);
        }
        return page;
    }
View Full Code Here

        }
        return page;
    }

    private WizardPage getCachedNextPage(CacheKey key) {
        WizardPage page = null;
        if (nextPageCache == null) {
            nextPageCache = Maps.newHashMap();
        } else {
            page = nextPageCache.get(key);
        }
View Full Code Here

        }
        return page;
    }

    private WizardPage createNewNextPage(CacheKey key) {
        WizardPage page;
        if (sourceOrTarget == SourceTarget.Source) {
            page = new MultipleTableWhereClausePage(getWizard(), tables);
        } else {
            page = new TargetInsertUpdateModePage(getWizard(), tables);
        }
View Full Code Here

        } else if (page == validationOptionsPage) {
            return generateXsdPage;
        } else if (page == standardChain.getLocationSelectionPage() && generateXsdPage.isYesSelected()) {
            return validationOptionsPage;
        } else {
            WizardPage previous = standardChain.getPreviousPage(page);
            if (previous == null) {
                previous = generateXsdPage;
            }
            return previous;
        }
View Full Code Here

    @Override
    public WizardPage getNextPage(WizardPage page) {
        if (page == locationSelectionPage) {
            return null;
        }
        WizardPage next = xmlPages.getNextPage(page);
        if (next == null) {
            next = locationSelectionPage;
        }
        return next;
    }
View Full Code Here

        return null;
    }

    @Override
    public WizardPage getNextPage(WizardPage page) {
        WizardPage next = null;
        if (page == startPage) {
            next = getFirstPageAfterStartPage();
            // next may be null here, if (None) is selected as the source type.
            // --> We can't just return here, but must continue.
        }
View Full Code Here

        }
        if (page == hostedWebServicePage) {
            inStartPage();
            return startPage;
        }
        WizardPage previous = currentChain.getPreviousPage(page);
        if (previous == null) {
            if (currentChain == targetChain && sourceChain != null) {
                previous = sourceChain.getLastPage();
                inSourceSection();
                currentChain = sourceChain;
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.wizard.WizardPage

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.