Package org.tuba.plugins.meta

Examples of org.tuba.plugins.meta.MetaIntegrator


    confButton
        .setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
    confButton.addMouseListener(new MouseListener() {
      @Override
      public void mouseUp(MouseEvent e) {
        MetaIntegrator integrator = integratorSelection.getIntegrator();
        Configurator.getInstance().configurate(integrator,
            confButton.getShell());
      }

      @Override
View Full Code Here


            .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);
      }

      XMLArtefact artefactTag = ReferenceManager.getInstance()
          .generateArtefact(document, reference);
View Full Code Here

  }

  public MetaIntegrator getIntegrator(String id) {
    if (integrators == null)
      collectIntegrator();
    MetaIntegrator in = integrators.get(id);
    if (in == null)
      return null;
    return in.clone();
  }
View Full Code Here

  }

  private void collectIntegrator() {
    integrators = new HashMap<String, MetaIntegrator>();
    for (IConfigurationElement element : getPlugins(IIntegrator.POINT_ID)) {
      MetaIntegrator integrator = new MetaIntegrator(element);
      integrators.put(integrator.getId(), integrator);
    }
  }
View Full Code Here

TOP

Related Classes of org.tuba.plugins.meta.MetaIntegrator

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.