Create a node connected to an edge. [message #1751222] |
Thu, 05 January 2017 19:25 |
sonny selhorst Messages: 60 Registered: May 2015 |
Member |
|
|
Hello,
I am making an Entity-Relationship modeling tool in Sirius. For this, it is needed to be able to associate nodes to edges, in order to give attributes to a relationship. As you can see in the photo, I have been able to create the Attribute and according connection to the edge.
When I copy an attribute from the rest of the diagram, select the relationship and paste it, it gets added like it should.
Now, when I try to create it by pressing the blue rectangle when hovering over the relationship, the following error occurs: FeatureNotFoundException: entityAttributes on er.impl.EntityRelationshipDiagramImpl@ed09a68 (name: attribute).
I'm sorry if the solution is really simple, I have tried quite some things, but nothing seems to work.
Included are the meta-model, screenshots of the example model and a screenshot of the odesign file.
Thank you.
[Updated on: Thu, 05 January 2017 19:32] Report message to a moderator
|
|
|
|
|
Re: Create a node connected to an edge. [message #1751277 is a reply to message #1751265] |
Fri, 06 January 2017 21:27 |
|
Hi,
You have 2 errors in your odesign, the first is during the create instance, you didn't manage the case for the RelationShip's attributes (relation relationshipAttributes). The second problem come from Sirius. You can't used a node creation tool on an edge. So, to resolve your problem I offer you a solution to manage with only one tool the attribute for Entity (relation entityAttributes) and for RelationShip (relation relationshipAttributes). An other solution is to used 2 tools of attributes creation. With the attached solution, as we want connect an attribute to a RelationShip we must use a selection wizard to choose the RelationShip.
Regards,
|
|
|
|
Powered by
FUDForum. Page generated in 0.03927 seconds