return getValidationMessages().size() == 0;
}
private void validateFileRelativeToWebRoot(String value) {
IVirtualContainer webRoot = getWebRoot();
if (! webRoot.exists()){
getValidationMessages().add(new ValidationMessage( Messages.WebPathType_1));
}
else {
IVirtualFile file = webRoot.getFile(new Path(value));
if (!file.exists()) {
//was this a valid file path string, or bogus url?
getValidationMessages().add(new ValidationMessage(Messages.WebPathType_2));
}
//we could also validate the expected file-extensions from meta data