public class JythonAutocompletionProvider
extends org.fife.ui.autocomplete.DefaultCompletionProvider
Constructor and Description |
---|
JythonAutocompletionProvider(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea text_area,
ImportFormat formatter) |
Modifier and Type | Method and Description |
---|---|
static void |
addAutoCompletionListener(AutoCompletionListener listener) |
List<org.fife.ui.autocomplete.Completion> |
getCompletions(String text)
Completions to discover (autocomplete imports) and auto-import java classes.
|
List<org.fife.ui.autocomplete.Completion> |
getCompletionsImpl(JTextComponent comp) |
boolean |
isValidChar(char c)
Override parent implementation to allow letters, digits, the period and a space, to be able to match e.g.:
"from "
"from ij"
"from ij.Im"
etc.
|
static void |
removeAutoCompletionListener(AutoCompletionListener listener) |
getAlreadyEnteredText, getCompletionsAt, getParameterizedCompletions, init, loadFromXML, loadFromXML, loadFromXML, loadFromXML
addCompletion, addCompletions, addWordCompletions, checkProviderAndAdd, clear, getCompletionByInputText, removeCompletion
clearParameterizedCompletionParams, getCompletions, getListCellRenderer, getParameterChoicesProvider, getParameterListEnd, getParameterListSeparator, getParameterListStart, getParent, isAutoActivateOkay, setAutoActivationRules, setListCellRenderer, setParameterChoicesProvider, setParameterizedCompletionParams, setParent
public JythonAutocompletionProvider(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea text_area, ImportFormat formatter)
public boolean isValidChar(char c)
isValidChar
in class org.fife.ui.autocomplete.DefaultCompletionProvider
c
- public static void addAutoCompletionListener(AutoCompletionListener listener)
public static void removeAutoCompletionListener(AutoCompletionListener listener)
public List<org.fife.ui.autocomplete.Completion> getCompletionsImpl(JTextComponent comp)
getCompletionsImpl
in class org.fife.ui.autocomplete.AbstractCompletionProvider
Copyright © 2015–2022 SciJava. All rights reserved.