|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.ui.autocomplete.CompletionProviderBase
org.fife.ui.autocomplete.LanguageAwareCompletionProvider
org.fife.rsta.ac.c.CCompletionProvider
org.fife.rsta.ac.perl.PerlCompletionProvider
public class PerlCompletionProvider
A completion provider for Perl. It provides:
setUseParensWithFunctions(boolean) method.
| Field Summary |
|---|
| Fields inherited from class org.fife.ui.autocomplete.CompletionProviderBase |
|---|
EMPTY_STRING |
| Constructor Summary | |
|---|---|
PerlCompletionProvider()
|
|
| Method Summary | |
|---|---|
protected void |
addShorthandCompletions(DefaultCompletionProvider codeCP)
Adds shorthand completions to the code completion provider. |
protected CompletionProvider |
createCodeCompletionProvider()
Returns the provider to use when editing code. |
protected CompletionProvider |
createStringCompletionProvider()
Returns the completion provider to use when the caret is in a string. |
protected List |
getCompletionsImpl(JTextComponent comp)
|
char |
getParameterListEnd()
Overridden to return the null char (meaning "no end character") if the user doesn't want to use parens around their functions. |
char |
getParameterListStart()
Overridden to return the null char (meaning "no start character") if the user doesn't want to use parens around their functions. |
boolean |
getUseParensWithFunctions()
Returns whether the user wants to use parens around parameters to functions. |
protected String |
getXmlResource()
Returns the name of the XML resource to load (on classpath or a file). |
void |
setUseParensWithFunctions(boolean use)
Sets whether the user wants to use parens around parameters to functions. |
| Methods inherited from class org.fife.rsta.ac.c.CCompletionProvider |
|---|
createCommentCompletionProvider, loadCodeCompletionsFromXml |
| Methods inherited from class org.fife.ui.autocomplete.CompletionProviderBase |
|---|
getCompletions, getListCellRenderer, getParameterChoicesProvider, getParent, setAutoActivationRules, setListCellRenderer, setParameterChoicesProvider, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerlCompletionProvider()
| Method Detail |
|---|
protected void addShorthandCompletions(DefaultCompletionProvider codeCP)
addShorthandCompletions in class CCompletionProvidercodeCP - The code completion provider.protected CompletionProvider createCodeCompletionProvider()
createCodeCompletionProvider in class CCompletionProviderCCompletionProvider.createCommentCompletionProvider(),
CCompletionProvider.createStringCompletionProvider(),
CCompletionProvider.loadCodeCompletionsFromXml(DefaultCompletionProvider),
CCompletionProvider.addShorthandCompletions(DefaultCompletionProvider)protected CompletionProvider createStringCompletionProvider()
createStringCompletionProvider in class CCompletionProviderCCompletionProvider.createCodeCompletionProvider(),
CCompletionProvider.createCommentCompletionProvider()protected List getCompletionsImpl(JTextComponent comp)
getCompletionsImpl in class LanguageAwareCompletionProviderpublic char getParameterListEnd()
getParameterListEnd in interface CompletionProvidergetParameterListEnd in class LanguageAwareCompletionProvidergetUseParensWithFunctions()public char getParameterListStart()
getParameterListStart in interface CompletionProvidergetParameterListStart in class LanguageAwareCompletionProvidergetUseParensWithFunctions()public boolean getUseParensWithFunctions()
setUseParensWithFunctions(boolean)protected String getXmlResource()
getXmlResource in class CCompletionProviderpublic void setUseParensWithFunctions(boolean use)
use - Whether to use parens around parameters to functions.getUseParensWithFunctions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||