Package org.jitterbit.application.ui.wizard

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


        pages.addPage(page);
        setPageChain(pages);
    }

    private void createDisplayer() {
        WizardDialogDisplayer displayer = new WizardDialogDisplayer(appWin, true);
        displayer.setManageLocation(TransformationEditorWizard.class);
        displayer.setMinimumSize(new Dimension(600, 600));
        displayer.setWizard(this);
        setDisplayer(displayer);
    }
View Full Code Here


    private final WizardDialogDisplayer adaptee;

    public TreeMapperWizardDialogContainer(ApplicationWindow appWin,UiEntityFactory docFactory, ProjectPersistor persistor) {
        super(appWin,docFactory, persistor);
        adaptee = new WizardDialogDisplayer(appWin);
        adaptee.setModal(true);
    }
View Full Code Here

    protected abstract Wizard<Operation> createWizardImpl(Operation operation, EntityExplorerSupport explorer);

    @Override
    protected final WizardDialogDisplayer createEmptyDialogDisplayer(ApplicationWindow window) {
        return new WizardDialogDisplayer(window, true) {

            @Override
            protected String constructDialogTitle(String mainTitle, String subTitle) {
                String title = wizardName + " - " + super.constructDialogTitle(mainTitle, subTitle);
                return title;
View Full Code Here

        private void executeImpl(WaitLock waitLock) {
            try {
                XmlStructureWizard wizard = new XmlStructureWizard(/*TODO: Implement me*/null,
                                /*TODO: Implement me*/null, /*TODO: Implement me*/null);
                wizard.setTitle(PackageResources.XmlPayload.WIZARD_TITLE);
                WizardDialogDisplayer displayer = new WizardDialogDisplayer(view.getWindow(), waitLock);
                displayer.setManageLocation(PayloadXmlStructureSelector.class);
                wizard.setDisplayer(displayer);
                displayer.setWizard(wizard);
                wizard.addWizardListener(new WizardAdapter<XmlStructure>() {

                    @Override
                    public void wizardCompleted(XmlStructure xml) {
                        PayloadXmlStructureSelector.this.handleNewStructure(xml);
View Full Code Here

            createWizardPageDisplayer(wizard, icon);
        }
    }

    private void createWizardDialogDisplayer(Wizard wizard, Icon icon) {
        WizardDialogDisplayer displayer = createEmptyDialogDisplayer(getWindow());
        if (icon instanceof ImageIcon) {
            Image image = ((ImageIcon) icon).getImage();
            displayer.setDialogImage(image);
        }
        displayer.setSections(getSections());
        displayer.setManageLocation(getClass());
        displayer.setMinimumSize(new Dimension(600, 600));
        displayer.setWizard(wizard);
        wizard.setDisplayer(displayer);
    }
View Full Code Here

    /**
     * Creates an empty <code>WizardDialogDisplayer</code>. Subclasses can use this method as a
     * hook-in if they need to create a customized dialog displayer.
     */
    protected WizardDialogDisplayer createEmptyDialogDisplayer(ApplicationWindow window) {
        return new WizardDialogDisplayer(window, true);
    }
View Full Code Here

TOP

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

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.