Skip to main content



      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 06: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 08:20 Go to previous messageGo to next message
Eclipse UserFriend
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 09: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] Thu, 03 July 2003 22: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] Sun, 06 July 2003 22: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: Sun Jul 06 12:14:03 EDT 2025

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

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

Back to the top