eMoflon / emoflon-ibex-ui

Independent and reusable GUI components for graph transformation rules and Triple Graph Grammars
GNU General Public License v3.0
5 stars 2 forks source link

TGG Editor Visualization: Links if file name != rule name #101

Open patrickrobrecht opened 6 years ago

patrickrobrecht commented 6 years ago

In the visualization, only rules which follow a naming convention are clickable (link to the correct file). The PlatformFragmentLinkOpener could be used for a general implementation handling all cases correctly (for example, if multiple rules are placed in the same .tgg file.

patrickrobrecht commented 6 years ago

I tried to implement this for the TGG schema. The problem is to find the file to link when the naming convention (file name = rule name) is not obeyed. As rules for the overview are loaded from the model PROJECT_NAME.editor.xmi file, one cannot simply use rule.eResource as done in the GT.