Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » TreeViewer/TreeEditPart is not lazy
TreeViewer/TreeEditPart is not lazy [message #75692] Tue, 15 April 2003 17:09 Go to next message
Eclipse UserFriend
Originally posted by: Hermann.Weindl.mind8.com.no.spam

Is there any particular reason why the implementation of
TreeViewer/TreeEditPart is based on org.eclipse.swt.widgets.Tree and not
on org.eclipse.jface.viewers.TreeViewer?

--hermann
Re: TreeViewer/TreeEditPart is not lazy [message #75709 is a reply to message #75692] Tue, 15 April 2003 17:43 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You are not required to use GEF's TreeViewer. You can use a JFace
treeviewer for your outline if you wish.
You can also extend AbstractTreeEditPart such that it calls refreshChildren
only when the TreeItem is expanded.

The JFace treeviewer is read-only. GEF's TreeViewer is designed around Tools
and EditParts, which produce commands which change the model.

"Hermann Weindl" <Hermann.Weindl@mind8.com.no.spam> wrote in message
news:3E9C3CC2.1010702@mind8.com.no.spam...
>
> Is there any particular reason why the implementation of
> TreeViewer/TreeEditPart is based on org.eclipse.swt.widgets.Tree and not
> on org.eclipse.jface.viewers.TreeViewer?
>
> --hermann
>
Previous Topic:[ANN] GEF 2.2 planning underway
Next Topic:Exceptions in draw2d-standalone
Goto Forum:
  


Current Time: Wed Feb 05 18:07:09 GMT 2025

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

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

Back to the top