|
|
|
Re: access cached value from ecore model [message #1781799 is a reply to message #1781782] |
Tue, 13 February 2018 11:16 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
I doubt it makes sense to create a new object that isn't attached via containment to the model. Did you set a breakpoint? Also in org.eclipse.emf.edit.provider.ItemPropertyDescriptor.getChoiceOfValues(Object) to see if that's being called.
In terms of labels, the label provider returned by org.eclipse.emf.edit.provider.ItemPropertyDescriptor.getLabelProvider(Object) will be used to provide labels for values. Here's an example where we override it to make the labels more unique: org.eclipse.emf.ecore.provider.EModelElementItemProvider.ItemPropertyDescriptorWithUniqueChoiceOfValueLabels.getLabelProvider(Object)
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03488 seconds