| 621 | |
| 622 | |
| 623 | QString TOPPASEdge::getSourceOutParamName() |
| 624 | { |
| 625 | const EdgeStatus& es = getEdgeStatus(); |
| 626 | if (es != ES_TOOL_API_CHANGED) |
| 627 | { |
| 628 | TOPPASVertex* source_o = getSourceVertex(); |
| 629 | const TOPPASToolVertex* source = qobject_cast<TOPPASToolVertex*>(source_o); |
| 630 | if (source && source_out_param_>=0) |
| 631 | { |
| 632 | QVector<TOPPASToolVertex::IOInfo> docks; |
| 633 | source->getOutputParameters(docks); |
| 634 | const TOPPASToolVertex::IOInfo& param = docks[this->source_out_param_]; |
| 635 | return param.param_name.toQString(); |
| 636 | } |
| 637 | } |
| 638 | return ""; |
| 639 | } |
| 640 | |
| 641 | void TOPPASEdge::updateColor() |
| 642 | { |
no test coverage detected