Package org.tuba.integration.dialog

Examples of org.tuba.integration.dialog.IntegrationDialog


      if (providerID == null || artefactID == null)
        continue;
      XMLProvider provider = new XMLProvider(providerID,
          artefactID);
      XMLReference reference = new XMLReference(provider);
      IntegrationDialog dialog = new IntegrationDialog(PlatformUI
          .getWorkbench().getActiveWorkbenchWindow().getShell(),
          document);
      if (dialog.open() != Dialog.OK)
        continue;

      for (MetaArtefactOperation operation : dialog.getOperations()) {
        XMLArtefactOperation o = new XMLArtefactOperation(operation
            .getId());
        o.setConfiguration(operation.getConfiguration());
        reference.getOperations().add(o);
      }

      MetaIntegrator integrator = dialog.getIntegrator();
      if (integrator != null) {
        XMLIntegrator i = new XMLIntegrator(integrator.getId());
        i.setConfiguration(integrator.getConfiguration());
        reference.setIntegrator(i);
      }
View Full Code Here

TOP

Related Classes of org.tuba.integration.dialog.IntegrationDialog

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.