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

When loading the model, delay resource configuration until after it's loaded #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ebousse
Copy link
Contributor

@ebousse ebousse commented Jul 17, 2017

Previously, when Melange was solving a cross-ref of the model, a Melange query was always added to the URI of the cross-ref although Melange needed to access to the resource without any query.

This PR delays the configuration of the ResourceSet with the XMLURIHandler and the MelangeURIConverter, until after the model was entirely loaded, which includes the MelangeResource` creation, and avoids the aforementioned problem.

ebousse added 2 commits July 17, 2017 11:54
Previously, when Melange was solving a cross-ref of the
model, a Melange query was always added to the URI of
the cross-ref although Melange needed to access to
the resource without any query.

This PR delays the configuration of the ResourceSet with
the XMLURIHandler and the MelangeURIConverter, until
after the model was entirely loaded, which includes
the MelangeResource creation, and avoids the aforementioned
problem.
@dvojtise
Copy link
Contributor

dvojtise commented Sep 5, 2017

with the transfer of the code to the Eclipse foundation (see gemoc@eclipse), this repository is now deprecated and replaced by https://github.com/eclipse/gemoc-studio-modeldebugging/

Since only the master branch was transfered, this pull request was not taken into account.

Please consider contributing/adapting this pull request to the new official repository https://github.com/eclipse/gemoc-studio-modeldebugging/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants