Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How can I do an editable Text inside Shape?
How can I do an editable Text inside Shape? [message #203345] Mon, 21 November 2005 19:08 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:how can i draw an non-recangle
Next Topic:Convert accelerator to KeyStroke?
Goto Forum:
  


Current Time: Thu Dec 12 14:27:15 GMT 2024

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

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

Back to the top