[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Editor and View Pattern

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