Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Text box using gef draw2d(Text box using gef draw2d)
Text box using gef draw2d [message #903919] Mon, 27 August 2012 09:37 Go to next message
ganesh ram is currently offline ganesh ramFriend
Messages: 26
Registered: January 2012
Junior Member
Hi,
I am trying to find a "text box" control using Draw2D that I could add to a component that takes in a IFigure.

Could someone pls point me to any existing Draw2D text box component (analogous to SWT's Text component)


-Ganesh
Re: Text box using gef draw2d [message #904278 is a reply to message #903919] Tue, 28 August 2012 06:45 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi, AFAIK there is no such a figure.
Re: Text box using gef draw2d [message #904284 is a reply to message #904278] Tue, 28 August 2012 07:04 Go to previous messageGo to next message
ganesh ram is currently offline ganesh ramFriend
Messages: 26
Registered: January 2012
Junior Member
Hi, Am curious as to know as to why the text box control is not there, when other controls like button, label etc are there.
Re: Text box using gef draw2d [message #904367 is a reply to message #904284] Tue, 28 August 2012 10:28 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Why do you need a text figure? If you need to show a text, use the Label figure. For editing support you can use the SWT's Text Control.
Re: Text box using gef draw2d [message #904471 is a reply to message #904367] Tue, 28 August 2012 13:35 Go to previous message
ganesh ram is currently offline ganesh ramFriend
Messages: 26
Registered: January 2012
Junior Member
I need the TextFigure because, the component into which i need to add the textbox takes controls of type draw2d.IFigure - add(IFigure figure). It dosent take SWT control.
Previous Topic:GEF shapes example minimap
Next Topic:how can i chage connection rulles of gef logic example
Goto Forum:
  


Current Time: Fri Nov 28 03:21:53 GMT 2014

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

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