Skip to main content



      Home
Home » Eclipse Projects » Sirius » Example of use of OrderedTree
Example of use of OrderedTree [message #1695505] Fri, 15 May 2015 08:23 Go to next message
Eclipse UserFriend
Hello,

I am trying to use the Ordered Tree Layout. However, I do not see any good example of how to define the attributes Children Expression and Node Mappings. Is there any good example? I am expecting that for each node, I will then add expression to retrieve the nodes. But I do not find any example to do so. Does anybody has some sample project for that?

Thanks!
Re: Example of use of OrderedTree [message #1695545 is a reply to message #1695505] Sat, 16 May 2015 02:46 Go to previous messageGo to next message
Eclipse UserFriend
Hey,

this should help:

http://melb.enix.org/sirius/the-tree-layout-secret/

Axel


Julien Delange wrote:

> Hello,
>
> I am trying to use the Ordered Tree Layout. However, I do not see any good
> example of how to define the attributes Children Expression and Node
> Mappings. Is there any good example? I am expecting that for each node, I
> will then add expression to retrieve the nodes. But I do not find any
> example to do so. Does anybody has some sample project for that?
>
> Thanks!
Re: Example of use of OrderedTree [message #1695582 is a reply to message #1695545] Sun, 17 May 2015 06:36 Go to previous message
Eclipse UserFriend
This is a good start but still very basic. For example, how to specify the top level elements if I have several node types (and especially considering that they might have several children expression - I assume that when having only one type, the algorithm choose the one without any children)? Also, when having different node types, how to specify the children expression for each of them?

It sounds very demanding/asking, it is just that there are not so much documentation about this layout.
Previous Topic:Non-resizable Containers and position locked sub Nodes
Next Topic:Exception when creating a new project
Goto Forum:
  


Current Time: Tue May 20 22:36:28 EDT 2025

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

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

Back to the top