| [news.eclipse.tools.emf] Re: Attribute dependency validation |
|
José, Maybe you'd need to create your own cell editor so that you'd be able to know the object holding the property... http://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_property_editor_in_a_generated_application José Parera wrote: That's right. I've already try it but doesn't solve my problem. I mean, when you change a value in the editor, the associated CellEditor validates the data calling the validateA method. The method, as you point out, validates the data type in an 'out of context' fashion. If I use an object validation constraint I can't call it 'in context' from validateA because I haven't any reference to the object. |