eclipse-viatra / org.eclipse.viatra

Main components of the VIATRA framework
https://eclipse.dev/viatra
Eclipse Public License 2.0
0 stars 1 forks source link

VIATRA viewers does not draw edges between Items created from Java objects #84

Open eclipse-viatra-bot opened 4 months ago

eclipse-viatra-bot commented 4 months ago

| --- | --- | | 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 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).