Examples of InputConnection


Examples of Galaxy.Tree.Workflow.InputConnection

      Printer.log("No entries");
      return new Pair<Object,Object>(result, null);
    }
    //create InputConnection, sink pairs from src, snk mappings.
    for(int i=0; i < src.size(); i++){
      InputConnection inputConn = new InputConnection();
      inputConn.setSourceId(src.get(i).getElem1());
      inputConn.setOutputName(src.get(i).getElem2());
      result.add(new Pair<Pair<Integer,String>,InputConnection>(snk.get(i), inputConn));
     
     
    }
    return new Pair<Object,Object>(result, null);
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3021IncomingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
        .find(view.eResource().getResourceSet().getResources());
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getIncomingTypeModelFacetLinks_ConnectionExpression_4001(
        modelElement, crossReferences));
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3021OutgoingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getOutgoingTypeModelFacetLinks_ConnectionExpression_4001(modelElement));
    return result;
  }
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    InputConnection newElement = ParametersFactory.eINSTANCE
        .createInputConnection();

    ProcessingElement owner = (ProcessingElement) getElementToEdit();
    owner.getProcessingElementParameters().add(newElement);

View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

    }
   
    if (descriptor.getInputs() != null) {
      for (ProcessingElementInputDescriptor input:  descriptor.getInputs()) {

        InputConnection inCon =
          ParametersFactory.eINSTANCE.createInputConnection();
        inCon.setName(input.getName());
       
        DType dt = input.getDType();
       
        if (dt instanceof SimpleDType) {
         
          SimpleDType sd = (SimpleDType) dt;
          DomainTypeReference dtyperef =
            ReferencesFactory.eINSTANCE.createDomainTypeReference();
         
          DomainTypeDefinition def = TypesFactory.eINSTANCE.createDomainTypeDefinition();
          def.setName(sd.toString().toString());
         
          dtyperef.setTarget(def);
          inCon.setDomainType(dtyperef);
        }
       


        if (dt != null) {
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3022IncomingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
        .find(view.eResource().getResourceSet().getResources());
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getIncomingTypeModelFacetLinks_ConnectionExpression_4001(
        modelElement, crossReferences));
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3026IncomingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
        .find(view.eResource().getResourceSet().getResources());
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getIncomingTypeModelFacetLinks_ConnectionExpression_4001(
        modelElement, crossReferences));
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3057IncomingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
        .find(view.eResource().getResourceSet().getResources());
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getIncomingTypeModelFacetLinks_ConnectionExpression_4001(
        modelElement, crossReferences));
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3060IncomingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
        .find(view.eResource().getResourceSet().getResources());
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getIncomingTypeModelFacetLinks_ConnectionExpression_4001(
        modelElement, crossReferences));
View Full Code Here

Examples of eu.admire.dispel.parameters.InputConnection

  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getInputConnection_3022OutgoingLinks(
      View view) {
    InputConnection modelElement = (InputConnection) view.getElement();
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getOutgoingTypeModelFacetLinks_ConnectionExpression_4001(modelElement));
    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.