|
|
|
Re: Feature not found exception when trying to create node [message #1850982 is a reply to message #1850954] |
Wed, 23 March 2022 17:53  |
Eclipse User |
|
|
|
Hello,
You can indeed have your node mappings with the Domain class and no "semantic candidate expression" so Sirius will look for any element of that type in the resource to display them. However, as you can see for the creation tool the containment information is missing. You can have a more complicated tool where you would select on which container the element should be created but it is easier (and recommended) to have a proper hierarchy between mappings and have semantic candidate expressions set. These expressions do not need to follow exactly the features in your metamodel, it is just a way to navigate through your model. However, if you are starting with Sirius, it is easier to start by have your mappings to reflect the metamodel containment features. Later, you can have more complex references if you want.
Best regards,
Steve
|
|
|
Powered by
FUDForum. Page generated in 0.04210 seconds