I want to cross-reference in XText not by using some attribute in the other file, instead by file metadata (the file name).
import: "string_msg/msg/StringMessage"
inputs:
name: testString
type: types.string_msg.StringMessage # this is the cross-reference
description: "Here goes some type of description or the other"
The language "string_msg/msg/StringMessage" belongs to only contains attribute information, not the type name. I have to derive the type name from the filename, but ideally make the model objects of the referenced file available.
How do I do this? All examples I have seen so far have referenced other EObjects by their name attribute.