Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Example of use of OrderedTree
Example of use of OrderedTree [message #1695505] Fri, 15 May 2015 12:23 Go to next message
Julien Delange is currently offline Julien DelangeFriend
Messages: 82
Registered: October 2011
Member
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 06:46 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
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 10:36 Go to previous message
Julien Delange is currently offline Julien DelangeFriend
Messages: 82
Registered: October 2011
Member
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: Fri Mar 29 06:15:28 GMT 2024

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

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

Back to the top