if ("isContainer".equals(property)) { //$NON-NLS-1$
int type = res.getType();
return type == IResource.FOLDER || type == IResource.PROJECT;
}
RepositoryMapping mapping = RepositoryMapping.getMapping(res
.getProject());
if (mapping != null) {
Repository repository = mapping.getRepository();
return testRepositoryState(repository, property);
}
return false;
}