Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Combining LayoutStyles and ZestStyles
[Zest] Combining LayoutStyles and ZestStyles [message #922881] Tue, 25 September 2012 08:25 Go to previous message
Magnus Sjöstrand is currently offline Magnus Sjöstrand
Messages: 16
Registered: June 2012
Junior Member
So, I've noticed that removing animations when performing a layout can be performed using

graph.setLayoutAlgorithm(new RadialLayoutAlgorithm(ZestStyles.NODES_NO_ANIMATION), true);

or with some other type of algorithm. Also I would like to use the LayoutStyles.NO_LAYOUT_NODE_RESIZING

How can I use both of these at the same time, meaning that they neither resize or animate when laying them all out on the graph.

I tried using a new CompositeLayoutAlgorithm but it would only use the LayoutStyles and ignore the ZestStyles when both were in use.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[ZEST] Nested elements in container
Next Topic:Combined Selection and ConnectionCreationToolEntry
Goto Forum:
  


Current Time: Sun May 19 06:17:27 EDT 2013

Powered by FUDForum. Page generated in 0.01625 seconds