Package org.netbeans.api.editor.mimelookup

Examples of org.netbeans.api.editor.mimelookup.MimePath


    protected void actionPerformed(PhpModule pm) {
        if (!WPUtils.isWP(pm)) {
            // called via shortcut
            return;
        }
        MimePath mimePath = MimePath.parse(FileUtils.PHP_MIME_TYPE);
        Collection<? extends CompletionProvider> providers = MimeLookup.getLookup(mimePath).lookupAll(CompletionProvider.class);
        for (CompletionProvider provider : providers) {
            if (provider instanceof FilterAndActionCompletion) {
                FilterAndActionCompletion completion = (FilterAndActionCompletion) provider;
                completion.refresh();
View Full Code Here

TOP

Related Classes of org.netbeans.api.editor.mimelookup.MimePath

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.