Package org.openiaml.model.model.wires

Examples of org.openiaml.model.model.wires.ParameterEdgesSource


      // additional special logic: if we have a WireDestination, get all of the incoming edges
      // that are RunActions, and render these as shortcut elements too (i.e. parameters)
      // (this covers SelectWires, etc...: see Issue 69)
      if (wire instanceof ParameterEdgesSource) {
        // specifically, if this wire is also a destination of parameters, follow these up
        ParameterEdgesSource prun =
          (ParameterEdgesSource) wire;

        result.addAll(getAllShortcutsFromParameterEdges(doneAlready, edges, view, wire, prun.getOutParameterEdges(), registry, updater));
      }

      if (wire instanceof ParameterEdgeDestination) {
        // specifically, if this wire is also a source of parameters, follow these up
        ParameterEdgeDestination prun =
          (ParameterEdgeDestination) wire;

        result.addAll(getAllShortcutsFromParameterEdges(doneAlready, edges, view, wire, prun.getInParameterEdges(), registry, updater));
      }

      if (wire instanceof Function) {
        // get all incoming edges
        result.addAll(getAllShortcutsFromComplexTerms(doneAlready, edges, view, wire,
View Full Code Here


      // additional special logic: if we have a WireDestination, get all of the incoming edges
      // that are RunActions, and render these as shortcut elements too (i.e. parameters)
      // (this covers SelectWires, etc...: see Issue 69)
      if (wire instanceof ParameterEdgesSource) {
        // specifically, if this wire is also a destination of parameters, follow these up
        ParameterEdgesSource prun =
          (ParameterEdgesSource) wire;

        result.addAll(getAllShortcutsFromParameterEdges(doneAlready, edges, view, wire, prun.getOutParameterEdges(), registry, updater));
      }

      if (wire instanceof ParameterEdgeDestination) {
        // specifically, if this wire is also a source of parameters, follow these up
        ParameterEdgeDestination prun =
          (ParameterEdgeDestination) wire;

        result.addAll(getAllShortcutsFromParameterEdges(doneAlready, edges, view, wire, prun.getInParameterEdges(), registry, updater));
      }

      if (wire instanceof Function) {
        // get all incoming edges
        result.addAll(getAllShortcutsFromComplexTerms(doneAlready, edges, view, wire,
View Full Code Here

        // additional special logic: if we have a WireDestination, get all of the incoming edges
        // that are RunActions, and render these as shortcut elements too (i.e. parameters)
        // (this covers SelectWires, etc...: see Issue 69)
        if (wire instanceof ParameterEdgesSource) {
          // specifically, if this wire is also a destination of parameters, follow these up
          ParameterEdgesSource prun =
            (ParameterEdgesSource) wire;

          result.addAll(getAllShortcutsFromParameterEdges(doneAlready, edges, view, wire, prun.getOutParameterEdges(), registry, updater));
        }

        if (wire instanceof ParameterEdgeDestination) {
          // specifically, if this wire is also a source of parameters, follow these up
          ParameterEdgeDestination prun =
            (ParameterEdgeDestination) wire;

          result.addAll(getAllShortcutsFromParameterEdges(doneAlready, edges, view, wire, prun.getInParameterEdges(), registry, updater));
        }
      }
    }

    return result;
View Full Code Here

    ECARule run = assertHasRunAction(root, onAccess, init, new Filter<ECARule>() {
      @Override
      public boolean accept(ECARule r) {
        if (r.getInParameterEdges().size() != 1)
          return false;
        ParameterEdgesSource paramSource = r.getInParameterEdges().get(0).getParameterValue();
        if (paramSource.eContainer().equals(source))
          return true;
        return false;
      }
    });
    assertGenerated(run);
View Full Code Here

    ECARule run = assertHasRunAction(root, onAccess, init, new Filter<ECARule>() {
      @Override
      public boolean accept(ECARule r) {
        if (r.getInParameterEdges().size() != 1)
          return false;
        ParameterEdgesSource paramSource = r.getInParameterEdges().get(0).getParameterValue();
        if (paramSource.eContainer().equals(changed))
          return true;
        return false;
      }
    });
    assertGenerated(run);
View Full Code Here

TOP

Related Classes of org.openiaml.model.model.wires.ParameterEdgesSource

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.