@Override
	public boolean validate(final Problems problems, final String compName, final Object model) {
		final boolean result = model != null && model.toString().length() > 0;
		if (!result) {
			final String message = ValidationBundle.getMessage(EmptyStringIllegalValidator.class, "MSG_MAY_NOT_BE_EMPTY", compName); // NOI18N
			problems.add(message);
		}
		return result;
	}
@ Override public boolean validate ( final Problems problems , final String compName , final Object model ) { final boolean result = model != null && model . toString ( ) . length ( ) > 0 ; if ( ! result ) { final String message = ValidationBundle . getMessage ( EmptyStringIllegalValidator . class , "MSG_MAY_NOT_BE_EMPTY" , compName ) ; problems . add ( message ) ; } return result ; }
/*
(non-Javadoc)

@see
com.fs.commons.desktop.validation.Validator#validate(com.fs.commons.desktop.
validation.Problems, java.lang.String, java.lang.Object)