Package org.jitterbit.integration.client.ui.structure.editor.xml.wizard

Examples of org.jitterbit.integration.client.ui.structure.editor.xml.wizard.XmlStructureWizard


    }

    @Override
    public EditedStructure edit(ApplicationWindow appWin, Wizard wizard) {
        WizardCallback callback = new WizardCallback();
        XmlStructureWizard xmlWizard = startWizard(appWin, wizard, callback);
        return completeWizard(xmlWizard, callback);
    }
View Full Code Here


                    final WizardCallback callback) {
        return UiThreadSupplier.call(new Supplier<XmlStructureWizard>() {

            @Override
            public XmlStructureWizard get() {
                XmlStructureWizard xmlWizard = createStructureWizard(wizard, toEdit);
                xmlWizard.addWizardListener(callback);
                wizard.addNestedWizard(xmlWizard);
                wizard.start(appWin);
                return xmlWizard;
            }
        });
View Full Code Here

            }
        });
    }

    private XmlStructureWizard createStructureWizard(Wizard owner, XmlStructure toEdit) {
        XmlStructureWizard wizard = new XmlStructureWizard(owner, toEdit, sourceTarget, xsdFileStore);
        if (isEdi) {
            wizard.useForEdi();
        }
        return wizard;
    }
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);
                    }
                });
                wizard.start(view.getWindow());
            } catch (RuntimeException ex) {
                // Must reset the wait state in case a RuntimeException slips
                // out from the wizard invokation.
                waitLock.release();
                throw ex;
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.structure.editor.xml.wizard.XmlStructureWizard

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.