Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » adding SWT/Jface tree component to draw2d figure
adding SWT/Jface tree component to draw2d figure [message #163298] Fri, 07 January 2005 13:53 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
>
Previous Topic:double click
Next Topic:delete of gef figures in viewpart
Goto Forum:
  


Current Time: Fri Apr 26 13:33:42 GMT 2024

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

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

Back to the top