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

Mention how to populate environment:/ URIs in Sirius example #134

Open
agarciadom opened this issue Nov 5, 2024 · 0 comments
Open

Mention how to populate environment:/ URIs in Sirius example #134

agarciadom opened this issue Nov 5, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@agarciadom
Copy link
Contributor

agarciadom commented Nov 5, 2024

In the example for working with Sirius models from Epsilon through a plain Java program, we should mention how to register the Environment.odesign into the URIConverter.URI_MAP manually (which is needed to provide some standard values, like the default color palette). It's something of this sort:

URIConverter.URI_MAP.put(
  URI.createURI("environment:/viewpoint"),
  URI.createURI(DescriptionPackage.class.getResource("/model/Environment.odesign").toURI().toString())
);
@agarciadom agarciadom added the documentation Improvements or additions to documentation label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant