Package org.tuba.plugins

Examples of org.tuba.plugins.IArtefactOperation


    // TODO externalize
    logger.info("representation: " + representation.toString()); //$NON-NLS-1$
    for (XMLArtefactOperation operation : operations) {
      // TODO externalize
      logger.info("apply operation '" + operation.getId() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
      IArtefactOperation operationInstance = PluginManager.getInstance()
          .instantiateOperation(operation.getId());
      representation = operationInstance.process(representation,
          operation.getConfiguration());
      // TODO externalize
      logger.info("representation: " + representation.toString()); //$NON-NLS-1$
      monitor.doLocalStep();
    }
View Full Code Here


  public IArtefactOperation instantiateOperation(
      MetaArtefactOperation operation) {
    if (operation == null)
      return null;
    IArtefactOperation runningInstance = operationInstances.get(operation
        .getId());
    if (runningInstance != null)
      return runningInstance;

    Object operationObj = instantiate(operation.getConfigurationElement(),
View Full Code Here

  }

  private IArtefactOperation registerOperation(String id, Object operationObj) {
    if (!(operationObj instanceof IArtefactOperation))
      return null;
    IArtefactOperation newInstance = (IArtefactOperation) operationObj;
    operationInstances.put(id, newInstance);
    return newInstance;
  }
View Full Code Here

    operationInstances.put(id, newInstance);
    return newInstance;
  }

  public IArtefactOperation instantiateOperation(String operationID) {
    IArtefactOperation runningInstance = operationInstances
        .get(operationID);
    if (runningInstance != null)
      return runningInstance;

    Object operationObj = instantiate(operationID,
View Full Code Here

TOP

Related Classes of org.tuba.plugins.IArtefactOperation

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.