public WebProtegeDialogValidator getValidator() {
return this;
}
public ValidationState getValidationState() {
EmailAddress emailAddress = getEmailAddress();
if(emailAddress.isEmpty()) {
validationMessage = "Please enter an email address";
return ValidationState.INVALID;
}
// if(EMAIL_PATTERN.test(emailAddress.getEmailAddress())) {
// validationMessage = "Please enter a valid email address";