Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Removing default target of another diagram decoration
Removing default target of another diagram decoration [message #1851703] Tue, 12 April 2022 22:55 Go to next message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 91
Registered: August 2017
Member
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.

index.php/fa/41923/0/

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 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 566
Registered: May 2011
Senior Member
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


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Removing default target of another diagram decoration [message #1852041 is a reply to message #1851957] Wed, 27 April 2022 00:49 Go to previous message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 91
Registered: August 2017
Member
Thank you Steve, that worked!
Previous Topic:Flow page moved halfway across the node
Next Topic:Obeo Designer, don't start on windows 11
Goto Forum:
  


Current Time: Sun Aug 07 17:02:35 GMT 2022

Powered by FUDForum. Page generated in 0.02032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top