|
|
|
Re: EMF Enum Regression [message #422127 is a reply to message #422119] |
Fri, 22 August 2008 11:07 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Bertrand,
Oh, I see. Because now you have a real EEnum, as opposed to an
EDataType with enumeration constraints which it was in the past if the
values weren't all well formed Java identifiers. So if you used
ecore:enum="false" on the .xsd you'd have what you had before right?
In any case, please open a bugzilla with reference to this newsgroup
thread because we should be able to design the logic so that even if an
EDataType is not an EEnum, if it's known to be a restriction of an
EEnum, we should be able to take advantage of that; in fact, we should
be able to filter the choices so they comply with the restriction,
though in your case it was empty...
Of course you can specialize the add property descriptor method in the
item provider to specialize getChoiceOfValues to return what you want in
the meantime too...
Bertrand wrote:
> Sorry,
>
> Not working means : I does not have the list box for an enumeration
> but only a text field classic so I don't have the list of choice ...
>
> thanks
>
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06258 seconds