Examples of PresenterCompletionItem


Examples of org.netbeans.modules.php.nette.editor.completion.items.PresenterCompletionItem

                            break;
                        }
                    }
                }
                if(ok || (parts.length == 0 && s.startsWith(":")) ) {
                    list.add(new PresenterCompletionItem(s, startOffset, startOffset + length));
                }
            }
        } else {
            for(String s : EditorUtils.getAllPresenters(fo)) {
                if(s.startsWith(link)) {
                    list.add(new PresenterCompletionItem(s, startOffset, startOffset + length));
                }
            }
        }
        return list;
    }
View Full Code Here

Examples of org.netbeans.modules.php.nette.editor.completion.items.PresenterCompletionItem

        FileObject fo = Source.create(doc).getFileObject();
        List<String> layouts = EditorUtils.getLayouts(fo);

        for(String path : layouts) {
            if(path.startsWith(written)) {
                list.add(new PresenterCompletionItem(path, startOffset, startOffset + length));
            }
        }

        return list;
    }
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.