Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelStateHelper doesn't support RTD distributed in several emf resources #59

Open
dvojtise opened this issue Sep 24, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@dvojtise
Copy link
Contributor

Currently, when looking for RTD to save, the generated ModelStateHelper searches only in the current root model element contents.

(cf. https://github.com/eclipse/gemoc-studio-execution-moccml/blob/945a7f37aa1575494e8e2de636030320f60fe6f1/examples/moccmlTFSM/language_workbench/org.eclipse.gemoc.example.moccml.tfsm/xdsml-java-gen/oncurrenttfsm/xdsml/api/impl/OncurrentTFSMModelStateHelper.java#L47 )

In the case of complex models split into several resources, the ModelStateHelper will ignore RTD that not directly contained by this root model element.

I suggest to use a crossreferencer in order to look for all resources used by the model.

@dvojtise dvojtise added the bug Something isn't working label Sep 24, 2021
dvojtise added a commit that referenced this issue Sep 24, 2021
contributes to #59

Signed-off-by: Didier Vojtisek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant