Hello again!
I seem to have left in the middle of a conversation last time as I see that these is questions in the mail above which I didn't answer. I'm sorry about that. Urgent matters arose, my Capra week past and I lost track of this.
But I now have time to finish the test result reader for the ReqTool editor.
Jan-Phillipe asked this:
> Would the solution via ArtifactMetaModelAdapter#getArtifactUri address your issue?
Yes, that is what I plan to use and that will work. I think I have everything I need.
I plan to change the relevant handers (mainly CDT and JDT) to set artifact URI strings that contain the information I need.
I plan to use URI:s with the following structure:
"platform://plugin/<PLUGIN_NAME>/<PATH_TO_FILE>?element=<FUNCTION_NAME>&data="">
The platform URI scheme [1] is handy for addressing all sorts of things in a flexible way.
By using this structure it is possible to easily locate the relevant file by looking at the URI path, and interested parties can get extra information from the query parameters.
Question: Is there any problem with changing the CDT and JDT handler in this way? Existing, saved, artifacts will probably no longer work.