'Text' in gef [message #216660] |
Tue, 23 May 2006 08:55  |
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 12:56   |
Eclipse User |
|
|
|
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   |
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 13:20   |
Eclipse User |
|
|
|
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
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04807 seconds