Q re how to hide/collapse tree branch in GEF editor [message #214634] |
Wed, 19 April 2006 17:59 |
Eclipse User |
|
|
|
Originally posted by: eclipse.chris-lott.org
Hi,
I'm looking into adding a hide (aka collapse) action the user can do on
branches in a tree that is edited in GEF. This purely a visual change;
the meaning of the tree branch (model content) doesn't change just because
it is hidden.
I'm fairly certain from reading about GEF that the desired visual state
(hidden or not) has to go into the model for things to work well.
I would love to see an example of something similar since I'm new to GEF.
So far the closest thing I have found is Phil Zoio's database schema
editor. His example stores information about the desired layout (manual
versus automatic) in his com.realpersist.gef.model classes, yet the code
for Schema gives this comment:
* Note that this class also includes
* diagram specific information (layoutManualDesired and
layoutManualAllowed
* fields) although ideally these should be in a separate model hiearchy
This kinda puzzles me.
I welcome all hints, suggestions, and especially web links. Thanks in
advance!
chris...
|
|
|
Powered by
FUDForum. Page generated in 0.02726 seconds