Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » 'Text' in gef
'Text' in gef [message #216660] Tue, 23 May 2006 04:55 Go to next message
Eclipse User
Originally posted by: mateu.yabar.justinmind.com

I need to implement a gef editpart that represents something like a Text of
swt: a rectangle with text inside with something like a direct edit policy.
Has any one implemented this?

Thanks in advance
Re: 'Text' in gef [message #216767 is a reply to message #216660] Wed, 24 May 2006 08:56 Go to previous messageGo to next message
Tom Macdougall is currently offline Tom Macdougall
Messages: 4
Registered: July 2009
Junior Member
exquisitus wrote:
> I need to implement a gef editpart that represents something like a Text of
> swt: a rectangle with text inside with something like a direct edit policy.
> Has any one implemented this?
>
> Thanks in advance
>
>

The GMF project adds a lot of functionality onto GEF including a
TextEditPart. Hopefully the other features may also come in handy for you.

Reference (www.eclipse.org/gmf)

-Tom
Re: 'Text' in gef [message #216814 is a reply to message #216767] Thu, 25 May 2006 03:39 Go to previous messageGo to next message
Eclipse User
Originally posted by: mateu.yabar.justinmind.com

Thanks for awnsering

But I'm not using EMF (and as I have seen in the GMF documentation you need
it to use it). One of the reasons is because I don't know nothing of EMF. Is
there any other way to have a Text without using EMF?

Thanks again


"Tom Macdougall" <tmacdoug@ca.ibm.com> escribi
Re: 'Text' in gef [message #216837 is a reply to message #216660] Thu, 25 May 2006 09:20 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. Shaw
Messages: 128
Registered: July 2009
Senior Member
There are numerous examples of text based implementations in GEF.

In the logic example you can take a look at the StickyNote implementation:
@see org.eclipse.gef.examples.logicdesigner.edit.LogicLabelEditPa rt
@see org.eclipse.gef.examples.logicdesigner.figures.StickyNoteFig ure

Also there is a rich text example that is more comprehensive:
@see org.eclipse.gef.examples.text

-Steve


"exquisitus" <mateu.yabar@justinmind.com> wrote in message
news:e4uil2$7jh$1@utils.eclipse.org...
> I need to implement a gef editpart that represents something like a Text
of
> swt: a rectangle with text inside with something like a direct edit
policy.
> Has any one implemented this?
>
> Thanks in advance
>
>
Re: 'Text' in gef [message #216950 is a reply to message #216837] Mon, 29 May 2006 06:09 Go to previous message
Eclipse User
Originally posted by: mateu.yabar.justinmind.com

Thanks

"Steven Shaw" <steveshaw@ca.ibm.com> escribi
Previous Topic:connecting draw2d with an rcp app.
Next Topic:Where is GEF 3.1.2
Goto Forum:
  


Current Time: Sat Apr 19 02:52:52 EDT 2014

Powered by FUDForum. Page generated in 0.01650 seconds