if (selectedObject != null) {
model = EOModelUtils.getRelatedModel(selectedObject);
}
if (model != null) {
Set<EOModelVerificationFailure> verifyFailures = new HashSet<EOModelVerificationFailure>();
model.verify(verifyFailures);
EOModelErrorDialog dialog = new EOModelErrorDialog(getWindow().getShell(), verifyFailures);
dialog.open();
}
}
}