Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » derived multi line attributes: support to view value
derived multi line attributes: support to view value [message #415604] Fri, 21 December 2007 18:57 Go to next message
Philipp Kutter is currently offline Philipp KutterFriend
Messages: 306
Registered: July 2009
Senior Member
Hi.
I've seen, that if a String attribute which is multi-line, the
generated editor does not allow me to open the multi-line value
in a window viewer, similar to the one generated for editing.

Ed: Could this be added as feature request?

Best, Philipp
Re: derived multi line attributes: support to view value [message #415611 is a reply to message #415604] Fri, 21 December 2007 19:44 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Philipp,

There is a GenFeature property to indicate that a value is mulit-line
and hence should opened in a dialog with a small text editor.


Philipp W. Kutter wrote:
> Hi.
> I've seen, that if a String attribute which is multi-line, the
> generated editor does not allow me to open the multi-line value
> in a window viewer, similar to the one generated for editing.
>
> Ed: Could this be added as feature request?
>
> Best, Philipp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: derived multi line attributes: support to view value [message #415618 is a reply to message #415611] Sat, 22 December 2007 09:28 Go to previous messageGo to next message
Philipp Kutter is currently offline Philipp KutterFriend
Messages: 306
Registered: July 2009
Senior Member
Hi, Ed.
Yes, but only if the property is not read-only. For derived features,
this dialog is not opened, and derived multi-line values can therefore
not be displayed.

Best, Philipp

Ed Merks wrote:
> Philipp,
>
> There is a GenFeature property to indicate that a value is mulit-line
> and hence should opened in a dialog with a small text editor.
>
>
> Philipp W. Kutter wrote:
>> Hi.
>> I've seen, that if a String attribute which is multi-line, the
>> generated editor does not allow me to open the multi-line value
>> in a window viewer, similar to the one generated for editing.
>>
>> Ed: Could this be added as feature request?
>>
>> Best, Philipp
Re: derived multi line attributes: support to view value [message #415624 is a reply to message #415618] Sat, 22 December 2007 12:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Philipp,

So you want read-only cell editors for read-only properties to act like
viewers. That's certainly possible but contributions rather than a
growing list of feature requests would sure go a long way towards
dealing with such issues.


Philipp W. Kutter wrote:
> Hi, Ed.
> Yes, but only if the property is not read-only. For derived features,
> this dialog is not opened, and derived multi-line values can therefore
> not be displayed.
>
> Best, Philipp
>
> Ed Merks wrote:
>> Philipp,
>>
>> There is a GenFeature property to indicate that a value is mulit-line
>> and hence should opened in a dialog with a small text editor.
>>
>>
>> Philipp W. Kutter wrote:
>>> Hi.
>>> I've seen, that if a String attribute which is multi-line, the
>>> generated editor does not allow me to open the multi-line value
>>> in a window viewer, similar to the one generated for editing.
>>>
>>> Ed: Could this be added as feature request?
>>>
>>> Best, Philipp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: derived multi line attributes: support to view value [message #415629 is a reply to message #415624] Sat, 22 December 2007 19:38 Go to previous messageGo to next message
Philipp Kutter is currently offline Philipp KutterFriend
Messages: 306
Registered: July 2009
Senior Member
I somehow agree with you.

But for multi-line values, they can just not be shown as it is now.

Could it be useful to add a feature request, that read-only cells can
span multiple lines in the properties view?

You would then have multi-line for read and write. The read option could
display multi line text, and lists of values by one value per line.

Best, Philipp

Ed Merks wrote:
> Philipp,
>
> So you want read-only cell editors for read-only properties to act like
> viewers. That's certainly possible but contributions rather than a
> growing list of feature requests would sure go a long way towards
> dealing with such issues.
>
>
> Philipp W. Kutter wrote:
>> Hi, Ed.
>> Yes, but only if the property is not read-only. For derived features,
>> this dialog is not opened, and derived multi-line values can therefore
>> not be displayed.
>>
>> Best, Philipp
>>
>> Ed Merks wrote:
>>> Philipp,
>>>
>>> There is a GenFeature property to indicate that a value is mulit-line
>>> and hence should opened in a dialog with a small text editor.
>>>
>>>
>>> Philipp W. Kutter wrote:
>>>> Hi.
>>>> I've seen, that if a String attribute which is multi-line, the
>>>> generated editor does not allow me to open the multi-line value
>>>> in a window viewer, similar to the one generated for editing.
>>>>
>>>> Ed: Could this be added as feature request?
>>>>
>>>> Best, Philipp
Re: derived multi line attributes: support to view value [message #415630 is a reply to message #415629] Sat, 22 December 2007 19:49 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Philipp,

What happens now? I thought we displayed them with like "\n" in them.
The properties view isn't flexible enough to allow on property to span
multiple lines. They'd have to be multiple different (but related)
properties and that's too tricky...


Philipp W. Kutter wrote:
> I somehow agree with you.
>
> But for multi-line values, they can just not be shown as it is now.
>
> Could it be useful to add a feature request, that read-only cells can
> span multiple lines in the properties view?
>
> You would then have multi-line for read and write. The read option could
> display multi line text, and lists of values by one value per line.
>
> Best, Philipp
>
> Ed Merks wrote:
>> Philipp,
>>
>> So you want read-only cell editors for read-only properties to act
>> like viewers. That's certainly possible but contributions rather than
>> a growing list of feature requests would sure go a long way towards
>> dealing with such issues.
>>
>>
>> Philipp W. Kutter wrote:
>>> Hi, Ed.
>>> Yes, but only if the property is not read-only. For derived
>>> features, this dialog is not opened, and derived multi-line values
>>> can therefore not be displayed.
>>>
>>> Best, Philipp
>>>
>>> Ed Merks wrote:
>>>> Philipp,
>>>>
>>>> There is a GenFeature property to indicate that a value is
>>>> mulit-line and hence should opened in a dialog with a small text
>>>> editor.
>>>>
>>>>
>>>> Philipp W. Kutter wrote:
>>>>> Hi.
>>>>> I've seen, that if a String attribute which is multi-line, the
>>>>> generated editor does not allow me to open the multi-line value
>>>>> in a window viewer, similar to the one generated for editing.
>>>>>
>>>>> Ed: Could this be added as feature request?
>>>>>
>>>>> Best, Philipp


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: derived multi line attributes: support to view value [message #415633 is a reply to message #415630] Sat, 22 December 2007 21:02 Go to previous message
Philipp Kutter is currently offline Philipp KutterFriend
Messages: 306
Registered: July 2009
Senior Member
I understand. A pitty.

Best, Philipp

Ed Merks wrote:
> Philipp,
>
> What happens now? I thought we displayed them with like "\n" in them.
> The properties view isn't flexible enough to allow on property to span
> multiple lines. They'd have to be multiple different (but related)
> properties and that's too tricky...
>
>
> Philipp W. Kutter wrote:
>> I somehow agree with you.
>>
>> But for multi-line values, they can just not be shown as it is now.
>>
>> Could it be useful to add a feature request, that read-only cells can
>> span multiple lines in the properties view?
>>
>> You would then have multi-line for read and write. The read option could
>> display multi line text, and lists of values by one value per line.
>>
>> Best, Philipp
>>
>> Ed Merks wrote:
>>> Philipp,
>>>
>>> So you want read-only cell editors for read-only properties to act
>>> like viewers. That's certainly possible but contributions rather than
>>> a growing list of feature requests would sure go a long way towards
>>> dealing with such issues.
>>>
>>>
>>> Philipp W. Kutter wrote:
>>>> Hi, Ed.
>>>> Yes, but only if the property is not read-only. For derived
>>>> features, this dialog is not opened, and derived multi-line values
>>>> can therefore not be displayed.
>>>>
>>>> Best, Philipp
>>>>
>>>> Ed Merks wrote:
>>>>> Philipp,
>>>>>
>>>>> There is a GenFeature property to indicate that a value is
>>>>> mulit-line and hence should opened in a dialog with a small text
>>>>> editor.
>>>>>
>>>>>
>>>>> Philipp W. Kutter wrote:
>>>>>> Hi.
>>>>>> I've seen, that if a String attribute which is multi-line, the
>>>>>> generated editor does not allow me to open the multi-line value
>>>>>> in a window viewer, similar to the one generated for editing.
>>>>>>
>>>>>> Ed: Could this be added as feature request?
>>>>>>
>>>>>> Best, Philipp
Previous Topic:EMF-Databinding and nested attributes
Next Topic:ECore-XSD roundtrip tested on Birt Design.xsd: questions on root element
Goto Forum:
  


Current Time: Fri Apr 26 13:08:33 GMT 2024

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

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

Back to the top