Remove model objects or remove visuals? [message #202051] |
Mon, 07 November 2005 06:58  |
Eclipse User |
|
|
|
Originally posted by: larserka.stud.ntnu.no
My plugin has two models made in EMF, a datamodel and a view model.
There's a 1-to-1 mapping between
my view model and my editparts. My editparts represents a tree with nodes
and links. I need to be able
to "collapse and expand" my tree. If i click on a node I want the child
nodes and child nodes of child nodes and so on to disapear. If i click on
a collapsed node i want the child nodes to show again. How do I do this
the "clean way"?
Should I remove the visuals for the editparts that I dont want to show, or
remove the model object from the view
model?
Lars.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03883 seconds