Uses of Interface
de.grogra.pf.ui.autocomplete.impl.Completion
-
Uses of Completion in de.grogra.autocompletors
Modifier and TypeMethodDescriptionprotected ArrayList<Completion>
SimpleStaticAutoCompletor.createImportCompletionFromPluginDescriptor
(PluginDescriptor pd, CompletionProvider p) XLContextCompletionProvider.getCompletionsAt
(AutoCompletableTextArea comp, Point p) protected List<Completion>
XLContextCompletionProvider.getCompletionsImpl
(AutoCompletableTextArea comp) protected ArrayList<Completion>
SimpleStaticAutoCompletor.parseRegistryClassContent
(CompletionProvider parent) protected ArrayList<Completion>
SimpleStaticAutoCompletor.parseRegistryClassContentForModule
(CompletionProvider parent) TODO: make a better and more abstract way of doing the same thing over and over.protected ArrayList<Completion>
SimpleStaticAutoCompletor.parseRegistryContentDescription
(CompletionProvider parent) Get the content of the ContentDescriptionType object stored in the Registry under the getStaticsDirectory() directoryprotected ArrayList<Completion>
SimpleStaticAutoCompletor.parseRegistryPluginPackages
(CompletionProvider parent) Modifier and TypeMethodDescriptionvoid
XLContextCompletionProvider.updateModelClassProviders
(List<Completion> newComp) void
XLContextCompletionProvider.updateModelFieldProviders
(List<Completion> newComp) void
XLContextCompletionProvider.updateModelMethodProviders
(List<Completion> newComp) void
XLContextCompletionProvider.updateModelModuleProviders
(List<Completion> newComp) -
Uses of Completion in de.grogra.pf.ui.autocomplete.impl
Modifier and TypeInterfaceDescriptioninterface
A completion option that takes parameters, such as a function or method.Modifier and TypeClassDescriptionclass
Base class for possible completions.class
A straightforwardCompletion
implementation.class
A completion for classesclass
A completion choice representing a function.class
A completion representing a tag in markup, such as HTML or XML.class
A completion for package names.class
A completion where the input text is shorthand for (really, just different from) the actual text to be inserted.class
A completion made up of a template with arbitrary parameters that the user can tab through and fill in.class
A completion for a variable (or constant) in a programming language.Modifier and TypeFieldDescriptionprotected List<Completion>
AbstractCompletionProvider.completions
The completions this provider is aware of.protected List<Completion>
ClassCompletion.constructors
protected List<Completion>
ClassCompletion.fields
protected List<Completion>
ClassCompletion.methods
Modifier and TypeMethodDescriptionAutoCompletePopupWindow.getSelection()
Returns the selected value, ornull
if nothing is selected.Modifier and TypeMethodDescriptionAbstractCompletionProvider.getCompletionByInputText
(String inputText) Returns a list ofCompletion
s in this provider with the specified input text.CompletionProvider.getCompletions
(AutoCompletableTextArea comp) Gets the possible completions for the text component at the current caret position.CompletionProviderBase.getCompletions
(AutoCompletableTextArea comp) ChildrenCompletionProvider.getCompletionsAt
(AutoCompletableTextArea comp, Point p) ClassCompletionProvider.getCompletionsAt
(AutoCompletableTextArea comp, Point p) CompletionProvider.getCompletionsAt
(AutoCompletableTextArea comp, Point p) Returns the completions that have been entered at the specified visual location.DefaultCompletionProvider.getCompletionsAt
(AutoCompletableTextArea tc, Point p) protected List<Completion>
AbstractCompletionProvider.getCompletionsImpl
(AutoCompletableTextArea comp) protected List<Completion>
ClassCompletionProvider.getCompletionsImpl
(AutoCompletableTextArea comp) protected abstract List<Completion>
CompletionProviderBase.getCompletionsImpl
(AutoCompletableTextArea comp) Does the dirty work of creating a list of completions.ClassCompletion.getConstructors()
ClassCompletion.getFields()
ClassCompletion.getMethods()
ParameterChoicesProvider.getParameterChoices
(AutoCompletableTextArea tc, ParameterizedCompletion.Parameter param) Returns a list of choices for a specific parameter.Modifier and TypeMethodDescriptionvoid
AbstractCompletionProvider.addCompletion
(Completion c) Adds a single completion to this provider.protected void
AbstractCompletionProvider.checkProviderAndAdd
(Completion c) protected void
ChildrenCompletionProvider.checkProviderAndAdd
(Completion c) int
SortByRelevanceComparator.compare
(Completion c1, Completion c2) int
AbstractCompletion.compareTo
(Completion c2) int
Completion.compareTo
(Completion other) Compares this completion to another one lexicographically, ignoring case.protected String
AbstractAutoCompletor.getReplacementText
(Completion c, AutoCompletableTextArea doc, int start, int len) Returns the text to replace with in the document.protected final void
AbstractAutoCompletor.insertCompletion
(Completion c) Inserts a completion.protected void
AbstractAutoCompletor.insertCompletion
(Completion c, boolean typedParamListStartChar) Inserts a completion.protected void
CompletionCellRenderer.prepareForOtherCompletion
(JList<?> list, Completion c, int index, boolean selected, boolean hasFocus) Prepares this renderer to display a completion not specifically handled elsewhere.boolean
AbstractCompletionProvider.removeCompletion
(Completion c) Removes the specified completion from this provider.protected void
CompletionCellRenderer.setIconWithDefault
(Completion completion) Sets the icon to display based off of a completion, falling back to the empty icon if the completion has no icon.protected void
CompletionCellRenderer.setIconWithDefault
(Completion completion, Icon defaultIcon) Sets the icon to display based off of a completion, falling back to a default icon if the completion has no icon.void
DescWindowCallback.showSummaryFor
(Completion completion, String anchor) Callback allowing a new code completion's description to be displayed in the description window.void
ExternalURLHandler.urlClicked
(HyperlinkEvent e, Completion c, DescWindowCallback callback) Called when an external URL is clicked in the description window.Modifier and TypeMethodDescriptionvoid
AbstractCompletionProvider.addCompletions
(List<Completion> completions) AddsCompletion
s to this provider.void
AutoCompletePopupWindow.setCompletions
(List<Completion> completions) Sets the completions to display in the choices list.