Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Custom layout not getting invoked(Problems with Custom layout for Sirius diagrams)
Custom layout not getting invoked [message #1782999] Tue, 06 March 2018 10:31 Go to next message
Rakesh Nidavani is currently offline Rakesh NidavaniFriend
Messages: 25
Registered: March 2018
Junior Member
Hello,

We have implemented the Custom layout for sirius diagrams. With the help of below link.

https://www.eclipse.org/sirius/doc/developer/extensions-provide_custom-arrange-all.html.

The Custom layout is not getting invoked as we also have kieler layout in our project which is required for other diagrams. Always the control is passed to kieler layout.

We have debugged and checked both our custom layout provider and kieler layout have 'HIGHEST' priority.

Can anyone help us with this?

Regards,
Rakesh
Re: Custom layout not getting invoked [message #1783212 is a reply to message #1782999] Fri, 09 March 2018 09:14 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
Hi Rakesh,

It is difficult to say why kieler (now called Eclipse Layout Kernel) get the priority but we are currently working on a better integration of ELK in Sirius (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=509070).

Regards,

Florian
Re: Custom layout not getting invoked [message #1783685 is a reply to message #1782999] Thu, 15 March 2018 14:11 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi,

ELK v0.3 has a GMF connector providing DRAW2D layouting registered with Highest priority.

If you have not a higher priority for your provider but the same one, the first or last compatible provider is used and in your case it is not yours.

I think ELK should not set the highest priority for its GMF connector.

The only solution is to not have this connector installed.

In our integration we have our own Sirius connector that will allow to use any ELK layout algorithm. But the problem will be the same if you install the ELK GMF connector.

Regards



Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Changing validation marker location string
Next Topic:full style refresh of Sirius diagram elements
Goto Forum:
  


Current Time: Thu Apr 18 12:42:44 GMT 2024

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

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

Back to the top