Package org.eclipse.wst.validation.internal

Examples of org.eclipse.wst.validation.internal.ValidationConfiguration


   * not override
   *
   * @return ValidationConfiguration
   */
  private ValidationConfiguration getValidationConfiguration(IFile file) {
    ValidationConfiguration configuration = null;
    if (file != null) {
      IProject project = file.getProject();
      if (project != null) {
        try {
          ProjectConfiguration projectConfiguration = ConfigurationManager.getManager().getProjectConfiguration(project);
View Full Code Here


    if (file == null) {
      return true;
    }

    boolean enabled = true;
    ValidationConfiguration configuration = getValidationConfiguration(file);
    if (configuration != null) {
      org.eclipse.wst.validation.internal.ValidatorMetaData metadata = ValidationRegistryReader.getReader().getValidatorMetaData(JSPContentValidator.class.getName());
      if (metadata != null) {
        if (!configuration.isBuildEnabled(metadata) && !configuration.isManualEnabled(metadata))
          enabled = false;
      }
    }
    return enabled;
  }
View Full Code Here

   * not override
   *
   * @return ValidationConfiguration
   */
  private ValidationConfiguration getValidationConfiguration(IFile file) {
    ValidationConfiguration configuration = null;
    if (file != null) {
      IProject project = file.getProject();
      if (project != null) {
        try {
          ProjectConfiguration projectConfiguration = ConfigurationManager.getManager().getProjectConfiguration(project);
View Full Code Here

    if (file == null) {
      return true;
    }

    boolean enabled = true;
    ValidationConfiguration configuration = getValidationConfiguration(file);
    if (configuration != null) {
      org.eclipse.wst.validation.internal.ValidatorMetaData metadata = ValidationRegistryReader.getReader().getValidatorMetaData(JSPContentValidator.class.getName());
      if (metadata != null) {
        if (!configuration.isBuildEnabled(metadata) && !configuration.isManualEnabled(metadata))
          enabled = false;
      }
    }
    return enabled;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.validation.internal.ValidationConfiguration

Copyright © 2018 www.massapicom. 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.