Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Q re how to hide/collapse tree branch in GEF editor
Q re how to hide/collapse tree branch in GEF editor [message #214634] Wed, 19 April 2006 17:59
Eclipse UserFriend
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...
Previous Topic:Cycle through edit parts
Next Topic:How to Undo/Redo model changes?
Goto Forum:
  


Current Time: Fri Sep 20 08:42:57 GMT 2024

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

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

Back to the top