| Bulk/batch validation of entire table? [message #1160692] |
Tue, 29 October 2013 05:37  |
Eclipse User |
|
|
|
It might be a very special need, but I have to validate a table in whole. When using the normal validators in the context of a cell editor, after finishing editing, only the currently-edited cell is validated. However, in my special case, the value might seemingly be legal for this one cell, but make the values of other cells illegal which were legal before.
Is there either a way to trigger the validation from outside, decorating all cells with currently-illegal values, or trigger the validation on other dependent cells when finishing editing of a cell?
|
|
|
|
|
| Re: Bulk/batch validation of entire table? [message #1163910 is a reply to message #1160762] |
Thu, 31 October 2013 05:51  |
Eclipse User |
|
|
|
|
Thanks, it worked. With the help of this post I was able to tie the EMF constraints validation which is already present in our project to the table. I use an EContentAdapter for this which triggers a revalidation of the relevant objects displayed in the table when a value changes in one of them. The result is then locally cached, and my label accumulator reads this result from the cache and updates the labels accordingly.
|
|
|
Powered by
FUDForum. Page generated in 0.03723 seconds