Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » DirectedEditMultiText
DirectedEditMultiText [message #1777939] Wed, 06 December 2017 13:29 Go to next message
xi yahui is currently offline xi yahuiFriend
Messages: 32
Registered: October 2017
Member
I use directededit to update a multitext. But I want use enter key to input \n. How can I do? I hope to edit multitext like TextBox.
index.php/fa/31506/0/

[Updated on: Wed, 06 December 2017 13:32]

Report message to a moderator

Re: DirectedEditMultiText [message #1777992 is a reply to message #1777939] Thu, 07 December 2017 12:22 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1932
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Enter is used to take over the change to the text in the direct editing input field and unfortunately cannot be changed. To insert a new line you can use shift-enter instead (same as e.g. in MS Excel).

HTH,
Michael
Re: DirectedEditMultiText [message #1777998 is a reply to message #1777992] Thu, 07 December 2017 14:10 Go to previous messageGo to next message
xi yahui is currently offline xi yahuiFriend
Messages: 32
Registered: October 2017
Member
Thanks Michael.
Can I control or resize the float input box? The default input box is so small.

[Updated on: Thu, 07 December 2017 14:13]

Report message to a moderator

Re: DirectedEditMultiText [message #1778105 is a reply to message #1777998] Sun, 10 December 2017 12:15 Go to previous message
xi yahui is currently offline xi yahuiFriend
Messages: 32
Registered: October 2017
Member
I find the getCellEditor method. So I can create a new texteditor in jface.
Previous Topic:Need getSingleClickFeature() clarification
Next Topic:Eclipse Graphiti Project Problem
Goto Forum:
  


Current Time: Fri Dec 06 01:48:41 GMT 2024

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

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

Back to the top