adding SWT/Jface tree component to draw2d figure [message #163298] |
Fri, 07 January 2005 13:53 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: praveen.sinha.sap.com
hi!!
i want to add a jface tree viewer like thing to a draw2d figure. is there
a way to embed a jface tree viewer or a SWT tree component into a draw2d
figure. further if one has to implement a tree component using just draw2d
figures, how would one implement the collpse/expand and direct edit.
thanx in advance
regards
praveen
|
|
|
Re: adding SWT/Jface tree component to draw2d figure [message #163306 is a reply to message #163298] |
Fri, 07 January 2005 15:09 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: none.us.ibm.com
This question has been asked before. Basically, there is no integration
like that. But, since figures are on a Canvas which is a Composite, you can
construct SWT Tree controls on that canvas, and create a figure which serves
as a proxy to that control, to allow it to layout within the draw2d layout
machanism.
"praveen" <praveen.sinha@sap.com> wrote in message
news:crm48p$7kd$1@www.eclipse.org...
> hi!!
> i want to add a jface tree viewer like thing to a draw2d figure. is there
> a way to embed a jface tree viewer or a SWT tree component into a draw2d
> figure. further if one has to implement a tree component using just draw2d
> figures, how would one implement the collpse/expand and direct edit.
> thanx in advance
> regards
> praveen
>
|
|
|
Powered by
FUDForum. Page generated in 0.03408 seconds