Delete root element of diagram does not delete the diagram from aird file [message #1834554] |
Thu, 12 November 2020 05:41  |
Eclipse User |
|
|
|
Hello
I hope you are all going well.
Using Sirius, we encounter a behavior we don't understand when deleting the root element of a DRepresentation. We expect Sirius to automatically remove the DRepresentation from the aird file but it appears it is not the case.
The DRepresentation is shown as non usable in the Aird editor. Maybe the user has to manually delete it?
We embed Sirius in a RCP application and we don't use the Aird editor. We can add a ModelChangeTrigger to automatically remove the representation when the root element is deleted. Is it a good idea?
Thanks and have a nice day,
Yann
Attachment: a gif file showing root element deletion behavior on Ecore Designer.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05185 seconds