Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how can i use SWT widget in draw2d
how can i use SWT widget in draw2d [message #86396] Thu, 03 July 2003 10:34 Go to next message
Eclipse UserFriend
Originally posted by: susu_anna.163.com

since draw2d doesnot provide Text figure like org.eclipse.swt.widgets.Text
how can i use the swt widget in draw2d
Re: how can i use SWT widget in draw2d [message #86413 is a reply to message #86396] Thu, 03 July 2003 12:20 Go to previous messageGo to next message
Eric Bordeau is currently offline Eric BordeauFriend
Messages: 259
Registered: July 2009
Senior Member
Look at the org.eclipse.draw2d.text package.

Tinker wrote:
> since draw2d doesnot provide Text figure like org.eclipse.swt.widgets.Text
> how can i use the swt widget in draw2d
>
>
>
Re: how can i use SWT widget in draw2d [message #86427 is a reply to message #86396] Thu, 03 July 2003 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

draw2d is not supposed to be a widget library. It is primarily for painting
and layout only.

In GEF, we support placing JFace CellEditors on top of IFigures for editing
purposes. If you aren't using GEF, you could probably still do the same
thing if you have the figure and the canvas.


"Tinker" <susu_anna@163.com> wrote in message
news:be10sg$bjq$1@rogue.oti.com...
> since draw2d doesnot provide Text figure like org.eclipse.swt.widgets.Text
> how can i use the swt widget in draw2d
>
>
>
Re: how can i use SWT widget in draw2d [message #86507 is a reply to message #86427] Fri, 04 July 2003 02:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: susu_anna.163.com

"Randy Hudson" <none@us.ibm.com> wrote in message
news:be1cjd$m1j$1@rogue.oti.com...
> draw2d is not supposed to be a widget library. It is primarily for
painting
> and layout only.
>
> In GEF, we support placing JFace CellEditors on top of IFigures for
editing

how to place a CellEditor on top of IFigure?
i'm a beginner on gef, could you please tell me more details
thx a lot
//bow

> purposes. If you aren't using GEF, you could probably still do the same
> thing if you have the figure and the canvas.
>
Re: how can i use SWT widget in draw2d [message #86578 is a reply to message #86507] Mon, 07 July 2003 02:38 Go to previous message
Eclipse UserFriend
Originally posted by: susu_anna.163.com

can anyone tell me how to place a widget in a figure
even just some keywords
i've search all the api but have no ideas
the issue is all widget should have a parenet which is an instance of
Composite
3x


"Tinker" <susu_anna@163.com> wrote in message
news:be2qf3$tkf$1@rogue.oti.com...
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:be1cjd$m1j$1@rogue.oti.com...
> > draw2d is not supposed to be a widget library. It is primarily for
> painting
> > and layout only.
> >
> > In GEF, we support placing JFace CellEditors on top of IFigures for
> editing
>
> how to place a CellEditor on top of IFigure?
> i'm a beginner on gef, could you please tell me more details
> thx a lot
> //bow
>
> > purposes. If you aren't using GEF, you could probably still do the same
> > thing if you have the figure and the canvas.
> >
>
>
Previous Topic:Poseidon-like connection behaviour
Next Topic:How do I trigger createActions to be called in the Editor class?
Goto Forum:
  


Current Time: Wed Jan 15 07:34:19 GMT 2025

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

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

Back to the top