Examples of 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

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

    public MVCNodeFactory() {
    }

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

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

                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
Copyright © 2018 www.massapi.com. 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.