TreeViewer/TreeEditPart is not lazy [message #75692] |
Tue, 15 April 2003 17:09 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02523 seconds