public boolean matches(IResource resource) {
   return condition == null || condition.isTrue(resource);
 }