Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » MultiLine Text addition
MultiLine Text addition [message #88571] Sat, 30 December 2006 11:23 Go to next message
Eclipse UserFriend
Hi,

Can we add multiline text to Figure's Editor programmetically?

Plz find me the solution for the above.

Regards,
Sandip
Re: MultiLine Text addition [message #88786 is a reply to message #88571] Tue, 02 January 2007 13:08 Go to previous messageGo to next message
Eclipse UserFriend
Hello Sandip,

> Can we add multiline text to Figure's Editor programmetically?
Please clarify what is "Figure's Editor"? Do you mean something like "Note"
figure supporting "Ctrl+Enter" to separate lines of entered text?

-----------------
Alex Shatalin
Re: MultiLine Text addition [message #89285 is a reply to message #88786] Thu, 04 January 2007 02:45 Go to previous messageGo to next message
Eclipse UserFriend
Yes Alex.

"Alex Shatalin" <vano@borland.com> wrote in message
news:3c3172e6e9898c8fcb87e780c97@news.eclipse.org...
> Hello Sandip,
>
> > Can we add multiline text to Figure's Editor programmetically?
> Please clarify what is "Figure's Editor"? Do you mean something like
"Note"
> figure supporting "Ctrl+Enter" to separate lines of entered text?
>
> -----------------
> Alex Shatalin
>
>
Re: MultiLine Text addition [message #89365 is a reply to message #89285] Thu, 04 January 2007 08:04 Go to previous message
Eclipse UserFriend
Hello Sandip,

So, AFAIU you have to modify generated code and this is mostly a question
to the runtime team. I think you should just call setTextWrap(true) for WrapLabel
figure visualizing text after it's creation. See: TextDirectEditManager.getTextCellEditorClass().

-----------------
Alex Shatalin
Previous Topic:Problem about MultiPageEditor
Next Topic:Alignment & fixing of figures
Goto Forum:
  


Current Time: Sun Jul 27 13:48:08 EDT 2025

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

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

Back to the top