EReference on the diagram [message #165545] |
Sun, 16 December 2007 12:51 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.com
I have an EReference in one of my EClasses in the domain model file. In
the generated diagram editor it works as a drop down list in the
Properties view where I can select what I want the EReference to point to.
So I'm not using the EReference as Containment or as a Connection end.
Is there a way within GMF to display the selected EReference from the drop
down list in Properties on a diagram element (as a label)?
|
|
|
|
|
Re: EReference on the diagram [message #165735 is a reply to message #165637] |
Tue, 18 December 2007 10:20 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.com
How about creating a normal String Feature Attribute and mapping it onto a
Feature Label and at the same time assigning the String value of the
EReference to the String EAttribute? That would be two fields in the
Properties view.
There are some Properites in GMF itself that have two fileds for one
property: one drop down list and one uneditable both showing the same
selection.
Can I have some tips how to create that in code?
|
|
|
|
Powered by
FUDForum. Page generated in 0.02446 seconds