Package org.netbeans.modules.php.nette.validators

Examples of org.netbeans.modules.php.nette.validators.NetteLoaderExistsValidator


      if (emptyPathValidator.validate(NetteOptions.getInstance().getNetteFile())) {
        return NbBundle.getMessage(NewNetteProjectPanel.class, "ERR_no_nette_file");
      }

      Validable loaderPathValidator = new NetteLoaderExistsValidator();

      if (!loaderPathValidator.validate(NetteOptions.getInstance().getNetteFile())) {
        return NbBundle.getMessage(NewNetteProjectPanel.class, "ERR_nette_file_not_exists");
      }
    }

    return null;
View Full Code Here


      return true;
    }
  }

  private boolean isNetteFileValid() {
    Validable loaderExistsValidator = new NetteLoaderExistsValidator();
    Validable emptyPathValidator = new NetteEmptyPathValidator();

    return loaderExistsValidator.validate(netteFileTextField.getText()) || emptyPathValidator.validate(netteFileTextField.getText());
  }
View Full Code Here

TOP

Related Classes of org.netbeans.modules.php.nette.validators.NetteLoaderExistsValidator

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.