if (!status.isOK()){
if (status.getSeverity() == IStatus.ERROR){
	private void validateNewImport(){		String importName= fNewImport.getText();				if (importName == null || "".equals(importName.trim())){ //$NON-NLS-1$			setValid(fNewImport);			return;		}					IStatus status= JavaConventions.validateImportDeclaration(importName);		if (!status.isOK()){			setInvalid(fNewImport, status.getMessage());			return;		}		setValid(fNewImport);	}