Package org.netbeans.modules.php.api.phpmodule

Examples of org.netbeans.modules.php.api.phpmodule.PhpModule


*/
public abstract class WordPressCompletionProvider implements CompletionProvider {

    @Override
    public CompletionTask createTask(int queryType, JTextComponent component) {
        PhpModule phpModule = getPhpModule(component);
        if (!WPUtils.isWP(phpModule)) {
            return null;
        }
        return createTask(queryType, component, phpModule);
    }
View Full Code Here


    public MVCNodeFactory() {
    }

    @Override
    public NodeList<?> createNodes(Project p) {
        PhpModule phpModule = PhpModule.Factory.lookupPhpModule(p);
        return new MVCNodeList(phpModule);
    }
View Full Code Here

                clearLabel();
                return;
            }

            // check whether project is WordPress
            PhpModule pmTemp = PhpModule.Factory.forFileObject(fileObject);
            if (!WPUtils.isWP(pmTemp)) {
                clearLabel();
                return;
            }

            // check whether phpmodule is changed
            PhpModule pm = getPhpModule();
            if (pm == pmTemp) {
                setDebugLevelLabel(getLevel());
                setVersionLabel(getVersion());
                return;
            } else {
View Full Code Here

TOP

Related Classes of org.netbeans.modules.php.api.phpmodule.PhpModule

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.