Cell inside a table with multiline text [message #1709262] |
Fri, 25 September 2015 12:18 |
Max Doe Messages: 3 Registered: June 2015 |
Junior Member |
|
|
Hi,
I created an Edition Table Description. My purpose is to have a cell with multilines text in it.
I read the tables documentation but I cannot figure out what is meant with
"the property edited with the cell is declared as multi-line".
I have an 'EString Attribute' called body inside the ecore class diagram. In the odesign file I set this 'Attribute' inside the 'Label Edit' with a 'set Operation'. That allows me to edit the cell but all text appears in one line.
Help would be much appreciated. Thanks!
|
|
|
Re: Cell inside a table with multiline text [message #1709280 is a reply to message #1709262] |
Fri, 25 September 2015 14:54 |
|
Le 25/09/2015 15:43, Max Doe a écrit :
> Hi,
Hi.
> I created an Edition Table Description. My purpose is to have a cell
> with multilines text in it.
> I read the tables documentation but I cannot figure out what is meant
> with "the property edited with the cell is declared as multi-line".
The "multi-line" property is set in your metamodel's .genmodel: in the
properties of the EAttribute, inside the "Edit" category, change the
"Property multi-line" to "true" (and regenera/re-deploy your metamodel).
IIRC, you will not get a multi-line cell directly inside the table, but
when the cell is selected, a "[...]" button will open a multi-line
dialog to edit the value.
Regards,
Pierre-Charles
--
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03297 seconds