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 08:54
Lorand Lorincz is currently offline Lorand Lorincz
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 Apr 24 11:18:34 EDT 2014

Powered by FUDForum. Page generated in 0.01476 seconds