|
Re: Editor and View Pattern [message #196021 is a reply to message #195788] |
Tue, 08 July 2008 07:42 |
Eclipse User |
|
|
|
Originally posted by: jan.herriger.gmx.de
Hi Tobias,
i don't know exactly why, but the following works for me:
Editor Pattern: {0}
Edit Pattern: {0}{1}
View Pattern: {0} : {1}
Tobias Emitslöf schrieb:
> Hi,
>
> I want to show two attributes in the same label and this works fine
> using the following settings. But when I click on the label I only want
> to edit one of the attributes. It works as I want it to do, but the data
> is not saved. I've heard that you can remove one of the attributes in
> MessageFormatParser but I have not found the correct one.
>
> Diagram Label: Diagram Label Test
> Edit Method: MESSAGE_FORMAT
> Editor Pattern: {0}
> Edit Pattern: {0}
> Features: label : EString, label2 : EString
> Read Only: false
> View Method: MESSAGE_FORMAT
> View Pattern: {0}:{1}
>
> Thanks,
> Tobias
>
|
|
|
Powered by
FUDForum. Page generated in 0.03783 seconds