Package com.yiistorm.elements

Examples of com.yiistorm.elements.ConfigParser


                                  ProcessingContext processingContext,
                                  @NotNull CompletionResultSet completionResultSet) {

        PsiFile currentFile = completionParameters.getPosition().getContainingFile();
        Project project = currentFile.getProject();
        ConfigParser config = YiiStormProjectComponent.getInstance(project).getYiiConfig();
        if (config != null) {
            HashMap<String, String> classMap = config.getComponentsClassMap();
            if (classMap != null && classMap.size() > 0) {
                for (String componentName : classMap.keySet()) {
                    completionResultSet.addElement(new ConfigComponentLookupElement(componentName, project));
                }
            }
View Full Code Here


        });
    }

    public void checkYiiAppParams() {

        ConfigParser parser = new ConfigParser(YiiStormProjectComponent.getInstance(project));
        if (yiiLitePath.getText().length() > 0) {
            if (parser.testYiiLitePath(yiiLitePath.getText())) {
                yiiLitePath.setBackground(JBColor.GREEN);
                if (yiiConfigPath.getText().length() > 0) {
                    if (parser.testYiiConfigPath(yiiConfigPath.getText())) {
                        yiiConfigPath.setBackground(JBColor.GREEN);
                    } else {
                        yiiConfigPath.setBackground(JBColor.PINK);
                    }
                } else {
View Full Code Here

        return yiiConfig;
    }

    public void loadConfigParser() {
        if (getBooleanProp("useYiiCompleter") && CommonHelper.phpVersionCheck()) {
            yiiConfig = new ConfigParser(this);
        }
    }
View Full Code Here

TOP

Related Classes of com.yiistorm.elements.ConfigParser

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.