Skip to main content


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 08:55 Go to next message
Eclipse UserFriend
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 12:56 Go to previous messageGo to next message
Tom Macdougall is currently offline Tom MacdougallFriend
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 07:39 Go to previous messageGo to next message
Eclipse UserFriend
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 13:20 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
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 10:09 Go to previous message
Eclipse UserFriend
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 Oct 12 04:35:43 GMT 2024

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

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

Back to the top