Package org.netbeans.modules.php.fuel.validator

Examples of org.netbeans.modules.php.fuel.validator.FuelPhpCustomizerValidator


            isValid = false;
            errorMessage = Bundle.FuelPhpModuleCustomizerExtender_error_source_invalid();
            return;
        }

        FuelPhpCustomizerValidator validator = new FuelPhpCustomizerValidator()
                .validateOilPath(sourceDirectory)
                .validateFuelDirectoryName(sourceDirectory, customizerPanel.getFuelName());
        ValidationResult result = validator.getResult();
        if (result.hasWarnings()) {
            isValid = false;
            errorMessage = result.getWarnings().get(0).getMessage();
            return;
        }
View Full Code Here


        public void run() {
            // auto detection
            FileObject sourceDirectory = phpModule.getSourceDirectory();
            String fuelName = FuelPhpPreferences.getFuelName(phpModule);
            if (sourceDirectory != null) {
                FuelPhpCustomizerValidator validator = new FuelPhpCustomizerValidator()
                        .validateFuelDirectoryName(sourceDirectory, fuelName)
                        .validateOilPath(sourceDirectory);
                ValidationResult result = validator.getResult();
                if (result.hasWarnings()) {
                    return;
                }

                // show notification displayer
View Full Code Here

TOP

Related Classes of org.netbeans.modules.php.fuel.validator.FuelPhpCustomizerValidator

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.