private class MyEventHandler implements ValidationEventHandler {
private boolean ok;
public boolean handleEvent(ValidationEvent pEvent) {
if (pEvent instanceof ValidationEventImpl) {
ValidationEventImpl ev = (ValidationEventImpl) pEvent;
if (ValidationEvents.EVENT_CHOICE_GROUP_REUSE.equals(ev.getErrorCode())) {
ok = true;
}
}
return false;
}