Package org.nbphpcouncil.modules.php.laravel4.support

Examples of org.nbphpcouncil.modules.php.laravel4.support.Laravel4Support


        return new Laravel4PhpModuleIgnoredFilesExtender(phpModule);
    }

    @Override
    public FrameworkCommandSupport getFrameworkCommandSupport(PhpModule phpModule) {
        return new Laravel4CommandSupport(phpModule);
    }
View Full Code Here


        return properties;
    }

    @Override
    public PhpModuleActionsExtender getActionsExtender(PhpModule phpModule) {
        return new Laravel4PhpModuleActionsExtender();
    }
View Full Code Here

        }
    }

    private Laravel4CustomizerPanel getPanel() {
        if (component == null) {
            component = new Laravel4CustomizerPanel(phpModule.getSourceDirectory());
            component.setSupportEnabled(originalEnabled);
            component.setAppDirectory(originalAppDirectory);
        }

        return component;
View Full Code Here

        }
    }

    private synchronized NewProjectConfigurationPanel getPanel() {
        if (panel == null) {
            panel = new NewProjectConfigurationPanel();
        }

        return panel;
    }
View Full Code Here

    @Override
    public String getErrorMessage() {
        if (getPanel().isSupportEnabled()) {
            // validate
            ValidationResult validationResult = new CustomizerValidator(phpModule)
                    .validate(getPanel().getAppDirectory())
                    .getResult();

            if (validationResult.hasErrors()) {
                return validationResult.getErrors().get(0).getMessage();
View Full Code Here

        init();
        initListeners();
    }

    public String getErrorMessage() {
        ValidationResult validationResult = new OptionsValidator()
                .validate(Laravel4Options.getInstance().getSkeleton())
                .getResult();

        if (validationResult.hasErrors()) {
            return validationResult.getErrors().get(0).getMessage();
View Full Code Here

        return null;
    }

    public String getWarningMessage() {
        ValidationResult validationResult = new OptionsValidator()
                .validate(Laravel4Options.getInstance().getSkeleton())
                .getResult();

        if (validationResult.hasWarnings()) {
            return validationResult.getWarnings().get(0).getMessage();
View Full Code Here

    public boolean isValid() {
        // clean up
        panel.setError(" "); // NOI18N

        // validate
        ValidationResult validationResult = new OptionsValidator()
                .validate(panel.getSkeleton())
                .getResult();
        String warning = null;
        // get first message
        if (validationResult.hasErrors()) {
View Full Code Here

TOP

Related Classes of org.nbphpcouncil.modules.php.laravel4.support.Laravel4Support

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.