Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Access property 'authorized Sides' of a bordered Node Element
Access property 'authorized Sides' of a bordered Node Element [message #1841201] Thu, 06 May 2021 10:48 Go to next message
Benny Xuan is currently offline Benny XuanFriend
Messages: 6
Registered: April 2021
Junior Member
Dear Community,

Is there a possiblility to access the property 'authorized Sides' of a bordered Node? Like with AQL or ACCEL?

Because I want to get the allignment of the Node. So it would be possible to change the image that is being used as a Style.

Thank you

Best regards,
Xuan Benny
Re: Access property 'authorized Sides' of a bordered Node Element [message #1841204 is a reply to message #1841201] Thu, 06 May 2021 12:41 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
Hi,
You can use org.eclipse.sirius.diagram.business.api.query.DNodeQuery.getForbiddenSide() or have a look on its code: https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/api/query/DNodeQuery.java#n112

Regards,

Laurent


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:New Element Based Edge not working
Next Topic:Dialog box on Save All on Eclipse 2021-03
Goto Forum:
  


Current Time: Tue Apr 16 09:50:32 GMT 2024

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

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

Back to the top