Skip to main content



      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 06:48 Go to next message
Eclipse UserFriend
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 08:41 Go to previous message
Eclipse UserFriend
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
Previous Topic:New Element Based Edge not working
Next Topic:Dialog box on Save All on Eclipse 2021-03
Goto Forum:
  


Current Time: Fri Jul 04 23:05:01 EDT 2025

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

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

Back to the top