| 602 | } |
| 603 | |
| 604 | QString TOPPASEdge::getTargetInParamName() |
| 605 | { |
| 606 | const EdgeStatus& es = getEdgeStatus(); |
| 607 | if (es != ES_TOOL_API_CHANGED) |
| 608 | { |
| 609 | TOPPASVertex* target_o = getTargetVertex(); |
| 610 | const TOPPASToolVertex* target = qobject_cast<TOPPASToolVertex*>(target_o); |
| 611 | if (target && target_in_param_>=0) |
| 612 | { |
| 613 | QVector<TOPPASToolVertex::IOInfo> docks; |
| 614 | target->getInputParameters(docks); |
| 615 | const TOPPASToolVertex::IOInfo& param = docks[this->target_in_param_]; |
| 616 | return param.param_name.toQString(); |
| 617 | } |
| 618 | } |
| 619 | return ""; |
| 620 | } |
| 621 | |
| 622 | |
| 623 | QString TOPPASEdge::getSourceOutParamName() |
no test coverage detected