Edge Creation Tool Problem [message #1754659] |
Tue, 21 February 2017 11:26 |
Francesco Gallo Messages: 9 Registered: December 2015 |
Junior Member |
|
|
Hello,
I am developing a editor for my metamodel....Please File gidlMModel.png...
I have created an Element Based Edge for the hasDataTypeGallo, they work when I define them within the example model. But the palette to create a hasDataTypeGallo does not work.
I included my .odesign file plus properties of my edge creation tool.
Thanks in advance
[Updated on: Tue, 21 February 2017 11:29] Report message to a moderator
|
|
|
Re: Edge Creation Tool Problem [message #1754677 is a reply to message #1754659] |
Tue, 21 February 2017 13:44 |
|
Hi Francesco,
From its name, I understand that "hasDataTypeGallo" might return a boolean, but Sirius expects that your return the target semantic element of the edge.
Then you use a CreateEdgeView model operation, but if your modeler will be used in auto-refresh and if the edge mapping is synchronized, you just need to modify your semantic model with the modification your tool has to do and then Sirius will automatically update the diagram from your semantic changes (from your mappings definitions).
Regards
|
|
|
|
Powered by
FUDForum. Page generated in 0.01689 seconds