Removing default target of another diagram decoration [message #1851703] |
Tue, 12 April 2022 22:55  |
Eclipse User |
|
|
|
Hello,
I would like to remove the default Sirius decoration which appears on a node if it is the target of another diagram. The decoration I am talking about is circled in red in the attached image.

How would I go about doing this?
Best,
Louis
|
|
|
Re: Removing default target of another diagram decoration [message #1851957 is a reply to message #1851703] |
Fri, 22 April 2022 21:35   |
Eclipse User |
|
|
|
Hello,
I do not think that we have an option for this in the Viewpoint Specification Model (.odesign file), but you should be able to remove this decorator with the APIs:
SiriusDecorationProviderRegistry.INSTANCE.getDecorationDescriptorProviders()
find the one that is typed SubDiagramDecorationDescriptorProvider and then remove it with
SiriusDecorationProviderRegistry.INSTANCE.removeSiriusDecorationDescriptorProvider(...)
Best regards,
Steve
|
|
|
|
Powered by
FUDForum. Page generated in 0.03641 seconds