Examples of enableValidation()


Examples of org.eclipse.wst.validation.ValidationFramework.enableValidation()

   * @param folder
   *            a folder to enable validation for
   */
  public void enableValidation(IFolder folder) {
    ValidationFramework vf = ValidationFramework.getDefault();
    vf.enableValidation(folder);
  }

  /**
   * Disables validation for the given folder in the WTP Validation Framework.
   *
 
View Full Code Here

Examples of org.eclipse.wst.validation.ValidationFramework.enableValidation()

  public void disableValidation(IFolder folder) throws CoreException {
    ValidationFramework vf = ValidationFramework.getDefault();

    // clean up the state of all subfolders
    for (IFolder subfolder : getAllSubfolders(folder)) {
      vf.enableValidation(subfolder);
    }

    if (!isInLibraryFolder(folder)) {
      // disable the given folder only if no parent folder is a library
      // folder yet
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.