EMF validation: provide clientData for validationListeners from inside a constraint [message #522322] |
Mon, 22 March 2010 06:37  |
Eclipse User |
|
|
|
Hello,
I need my EMF validation constraint to provide some data to a validation
listener, which can be done via IValidator.putClientData(). The problem
is, I have to make that call from my constraint's validate() method (the
constraint subclasses AbstractModelConstraint).
Is there a way to obtain the BatchValidator instance from the
constraint's validate() method (or another smart way to provide the
client data)?
Thanks in advance and greetings,
Patrick
|
|
|
Re: EMF validation: provide clientData for validationListeners from inside a constraint [message #522325 is a reply to message #522322] |
Mon, 22 March 2010 07:03  |
Eclipse User |
|
|
|
Moving the question to the EMF mailing list.
Am 22.03.2010 11:37, schrieb Patrick Oppermann:
> Hello,
>
> I need my EMF validation constraint to provide some data to a validation
> listener, which can be done via IValidator.putClientData(). The problem
> is, I have to make that call from my constraint's validate() method (the
> constraint subclasses AbstractModelConstraint).
>
> Is there a way to obtain the BatchValidator instance from the
> constraint's validate() method (or another smart way to provide the
> client data)?
>
> Thanks in advance and greetings,
> Patrick
|
|
|
Powered by
FUDForum. Page generated in 0.02698 seconds