Examples of deriveResources()


Examples of org.springframework.ide.eclipse.core.model.validation.IValidator.deriveResources()

    if (selection.size() > 0) {
      for (ValidatorDefinition validatorDefinition : ValidatorDefinitionFactory
          .getValidatorDefinitions()) {
        IValidator validator = validatorDefinition.getValidator();
        for (Object object : selection.toList()) {
          Set<IResource> resources = validator.deriveResources(object);
          if (resources != null && resources.size() > 0) {
            Set<IResource> valResources = validatorResources.get(validatorDefinition);
            if (valResources == null) {
              valResources = new LinkedHashSet<IResource>();
              validatorResources.put(validatorDefinition, valResources);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.