A more detailed evaluation has shown that the Edge is indeed not working because the the Edge was to connect two items created from Java strings. More specifically, the EVM Job created inEdgeRule#getAppearedJob() method is not called with the matches, and the code itself seems to expect that the source element is an EObject.
We should evaluate this further, and decide whether this was a deliberate decision not to support such cases anymore (and in that case, document this limitation), or not (and then fix this issue).
| --- | --- | | Bugzilla Link | 535568 | | Status | NEW | | Importance | P3 normal | | Reported | Jun 05, 2018 15:28 EDT | | Modified | Aug 07, 2018 04:32 EDT | | Version | 1.5.1 | | Reporter | Zoltan Ujhelyi |
Description
As reported in the forum post https://www.eclipse.org/forums/index.php/t/1092511/, the @Edge annotation used by VIATRA Viewers was not working as expected on the very old EMFExcel example.
A more detailed evaluation has shown that the Edge is indeed not working because the the Edge was to connect two items created from Java strings. More specifically, the EVM Job created in
EdgeRule#getAppearedJob()
method is not called with the matches, and the code itself seems to expect that the source element is an EObject.We should evaluate this further, and decide whether this was a deliberate decision not to support such cases anymore (and in that case, document this limitation), or not (and then fix this issue).