Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » JFace TreeViewer with inital expand on specific element types
JFace TreeViewer with inital expand on specific element types [message #755755] Wed, 09 November 2011 13:54
Lorand Lorincz is currently offline Lorand LorinczFriend
Messages: 35
Registered: April 2011
Member
Hello,

Is it possible to specify somehow which element types should be initially expanded in a TreeViewer? For example I could have tree nodes in a Tree, each depicting different importance levels (high, medium, low) and I want that at startUp only the high level importance node is expanded.
I know that you can set an initalExpandLevel, but that affects all nodes, and you can expand nodes using the ThreePath but that involves building the TreePaths using the nodes instances, which I don't have at compile time.

Thanks in advance.
Previous Topic:Problems when deselecting any plugins in target platform
Next Topic:Spreadsheet-like cell Editor problem
Goto Forum:
  


Current Time: Thu Dec 18 10:39:40 GMT 2014

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

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