Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Is it possible to use the LayoutAlgorithms without using SWT?
[Zest] Is it possible to use the LayoutAlgorithms without using SWT? [message #1721203] Mon, 25 January 2016 16:13 Go to next message
Christoph Broeter is currently offline Christoph BroeterFriend
Messages: 30
Registered: July 2015
Member
Hello,

is it possible to use the Zest layout algorithms just to calculate a layout?

If the answer is "Yes" can you provide me a short source code example?

Greetings from germany.
Re: [Zest] Is it possible to use the LayoutAlgorithms without using SWT? [message #1721211 is a reply to message #1721203] Mon, 25 January 2016 16:56 Go to previous message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 244
Registered: July 2009
Location: Lünen
Senior Member
If you refer to the GEF4 Layout algorithms, then yes, you can do so. You will have to adapt the layout interfaces and provide the necessary input data and can then obtain the layout interfaces via the same way.

You can take a look into the GEF4 Zest implementation to get a start. The logic of how to "feed" the algorithms is within the layout behaviors.
Previous Topic:Adding another GraphicalViewer in GraphicalEditorWithFlyoutPalette
Next Topic:[GEF4] AbstractFXTool & Policies
Goto Forum:
  


Current Time: Thu Sep 26 20:53:22 GMT 2024

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

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

Back to the top