Skip to content

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

Open
@agarciadom

Description

@agarciadom

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())
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions