How can I do an editable Text inside Shape? [message #203345] |
Mon, 21 November 2005 19:08 |
Eclipse User |
|
|
|
Originally posted by: ciulbecca.yahoo.it
Hi!!
I have implemented some new Shapes for the GEF example and a TextLabel
editable for the same medel.Now I want to implement the shapes with a
label editable inside!I try to add the TextLabel that i improved but i
don't suceed!How can I do?
Help me please.
|
|
|
Re: How can I do an editable Text inside Shape? [message #203369 is a reply to message #203345] |
Mon, 21 November 2005 19:26 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
This feature is called direct-editing. In the logic example (also in flow
and ediagram examples), you can enable direct-editing by selecting an
editpart and then clicking on it (same as you do in windows explorer for
renaming) or by pressing F2.
To see how it's implemented see LogicLabelEditPart#performRequest().
"Antonio" <ciulbecca@yahoo.it> wrote in message
news:b49d7e6254c1436da91f86e5c265755f$1@www.eclipse.org...
> Hi!!
> I have implemented some new Shapes for the GEF example and a TextLabel
> editable for the same medel.Now I want to implement the shapes with a
> label editable inside!I try to add the TextLabel that i improved but i
> don't suceed!How can I do?
> Help me please.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03298 seconds