Uses of Interface
de.grogra.pf.ui.autocomplete.impl.CompletionProvider
Package
Description
-
Uses of CompletionProvider in de.grogra.autocompletors
Modifier and TypeClassDescriptionclass
A completion provider for a xl or rgg context.Modifier and TypeMethodDescriptionSimpleStaticAutoCompletor.createClassProvider()
SimpleStaticAutoCompletor.createCommentProvider()
SimpleStaticAutoCompletor.createDefaultProvider()
SimpleStaticAutoCompletor.createImportProvider()
SimpleStaticAutoCompletor.createJavaProvider()
SimpleStaticAutoCompletor.createModelClassProvider()
SimpleStaticAutoCompletor.createModelFieldsProvider()
SimpleStaticAutoCompletor.createModelImportProvider()
SimpleStaticAutoCompletor.createModelMethodsProvider()
SimpleStaticAutoCompletor.createModelModuleProvider()
protected CompletionProvider
RoundRobinAutoCompletion.createProvider()
SimpleStaticAutoCompletor.createProvider()
Create a simple provider that load completions from the registry static methods in getMethodDirectory().SimpleStaticAutoCompletor.createXLProvider()
XLContextCompletionProvider.getClassProvider()
XLContextCompletionProvider.getCommentProvider()
protected CompletionProvider
XLContextCompletionProvider.getDefaultProvider()
XLContextCompletionProvider.getImportProvider()
XLContextCompletionProvider.getJavaProvider()
XLContextCompletionProvider.getModelClassProvider()
XLContextCompletionProvider.getModelFieldProvider()
XLContextCompletionProvider.getModelMethodProvider()
XLContextCompletionProvider.getModelModuleProvider()
XLContextCompletionProvider.getXLProvider()
Modifier and TypeMethodDescriptionvoid
RoundRobinAutoCompletion.addCompletionProvider
(CompletionProvider provider) Adds an additionalCompletionProvider
to the list to cycle through.protected ClassCompletion
SimpleStaticAutoCompletor.createCompletionFromContentType
(ContentDescriptionClass c, CompletionProvider parent) protected VariableCompletion
SimpleStaticAutoCompletor.createCompletionFromContentType
(ContentDescriptionField f, CompletionProvider parent) protected FunctionCompletion
SimpleStaticAutoCompletor.createCompletionFromContentType
(ContentDescriptionMethod m, CompletionProvider parent) protected ClassCompletion
SimpleStaticAutoCompletor.createCompletionFromContentTypeAdvanced
(ContentDescriptionClass c, CompletionProvider parent) Load more info than the other oneprotected ArrayList<Completion>
SimpleStaticAutoCompletor.createImportCompletionFromPluginDescriptor
(PluginDescriptor pd, CompletionProvider p) 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 List<FunctionCompletion>
SimpleStaticAutoCompletor.parseRegistryConstructorForClass
(ContentDescriptionClass c, CompletionProvider parent) protected ArrayList<Completion>
SimpleStaticAutoCompletor.parseRegistryContentDescription
(CompletionProvider parent) Get the content of the ContentDescriptionType object stored in the Registry under the getStaticsDirectory() directoryprotected List<VariableCompletion>
SimpleStaticAutoCompletor.parseRegistryFieldForClass
(ContentDescriptionClass c, CompletionProvider parent) TODO: This should probably be the same as parseRegistryContentType with a Condition as parameter - such as ItemCriterio().protected List<FunctionCompletion>
SimpleStaticAutoCompletor.parseRegistryMethodForClass
(ContentDescriptionClass c, CompletionProvider parent) protected ArrayList<Completion>
SimpleStaticAutoCompletor.parseRegistryPluginPackages
(CompletionProvider parent) void
XLContextCompletionProvider.setClassProvider
(CompletionProvider classProvider) void
XLContextCompletionProvider.setCommentProvider
(CompletionProvider commentProvider) void
XLContextCompletionProvider.setDefaultProvider
(CompletionProvider p) void
XLContextCompletionProvider.setImportProvider
(CompletionProvider importProvider) void
XLContextCompletionProvider.setJavaProvider
(CompletionProvider javaProvider) void
XLContextCompletionProvider.setModelClassProvider
(CompletionProvider modelClassProvider) void
XLContextCompletionProvider.setModelFieldProvider
(CompletionProvider modelFieldProvider) void
XLContextCompletionProvider.setModelMethodProvider
(CompletionProvider modelMethodProvider) void
XLContextCompletionProvider.setModelModuleProvider
(CompletionProvider modelModuleProvider) void
XLContextCompletionProvider.setXLProvider
(CompletionProvider classProvider) -
Uses of CompletionProvider in de.grogra.ext.jedit
Modifier and TypeMethodDescriptionJEditTextEditor.getAlreadyEnteredText
(CompletionProvider provider) -
Uses of CompletionProvider in de.grogra.pf.ui.autocomplete
Modifier and TypeMethodDescriptionAutoCompletable.getAlreadyEnteredText
(CompletionProvider provider) Get the String to be autocompleted Likely useless with the autocmpletor implementationAutoCompletableTextArea.getAlreadyEnteredText
(CompletionProvider provider) Returns the text just before the current caret position that could be the start of something auto-completable. -
Uses of CompletionProvider in de.grogra.pf.ui.autocomplete.impl
Modifier and TypeClassDescriptionclass
A base class for completion providers.class
A completion provider that do not manage the completion itself.class
A completion provider that check the text to the carret position, then, depending on the completioncontext it: if the CompletionContext.getContext() == NEWCLASS: it try to match the ClassCompletion.getName() to the entered text and autocomplete it with the ClassCompletion.getConstructors() if the CompletionContext.getContext() == INCLASS: it try to find match the name of the class with getEnteredClass() if it is not null (a.k.a. a CompletionClass matches) it will complete based on the ClassCompletion.getInternals()class
A base class for all standard completion providers.class
A basic completion provider implementation.Modifier and TypeMethodDescriptionprotected abstract CompletionProvider
AbstractAutoCompletor.createProvider()
protected CompletionProvider
EmptyAutoCompletor.createProvider()
AbstractAutoCompletor.getCompletionProvider()
Returns the completion provider.ClassCompletion.getConstructorsProvider()
ClassCompletion.getInternalsProvider()
CompletionProvider.getParent()
Returns the parent completion provider.CompletionProviderBase.getParent()
AbstractCompletion.getProvider()
Completion.getProvider()
Returns the provider that returned this completion.Modifier and TypeMethodDescriptionvoid
ClassCompletion.initializeProviders
(CompletionProvider parent) void
ClassCompletion.initializeProviders
(CompletionProvider parent, Icon iconForConstructor) protected void
AbstractAutoCompletor.initProvider
(CompletionProvider provider) void
AbstractAutoCompletor.setCompletionProvider
(CompletionProvider provider) Sets the completion provider being used.void
CompletionProvider.setParent
(CompletionProvider parent) Sets the parent completion provider.void
CompletionProviderBase.setParent
(CompletionProvider parent) ModifierConstructorDescriptionprotected
AbstractCompletion
(CompletionProvider provider) Constructor.protected
AbstractCompletion
(CompletionProvider provider, Icon icon) Constructor.BasicCompletion
(CompletionProvider provider, String replacementText) Constructor.BasicCompletion
(CompletionProvider provider, String replacementText, String shortDesc) Constructor.BasicCompletion
(CompletionProvider provider, String replacementText, String shortDesc, String summary) Constructor.ClassCompletion
(CompletionProvider provider, String name, CompletionContext cc) Constructor.FunctionCompletion
(CompletionProvider provider, String name, String returnType) Constructor.MarkupTagCompletion
(CompletionProvider provider, String name) Constructor.PackageCompletion
(CompletionProvider provider, String replacementText) PackageCompletion
(CompletionProvider provider, String replacementText, String shortDesc) PackageCompletion
(CompletionProvider provider, String replacementText, String shortDesc, String summary) ShorthandCompletion
(CompletionProvider provider, String inputText, String replacementText) Constructor.ShorthandCompletion
(CompletionProvider provider, String inputText, String replacementText, String shortDesc) Constructor.ShorthandCompletion
(CompletionProvider provider, String inputText, String replacementText, String shortDesc, String summary) Constructor.TemplateCompletion
(CompletionProvider provider, String inputText, String definitionString, String template) TemplateCompletion
(CompletionProvider provider, String inputText, String definitionString, String template, String shortDescription, String summary) VariableCompletion
(CompletionProvider provider, String name, String type) Constructor. -
Uses of CompletionProvider in de.grogra.pf.ui.swing
Modifier and TypeMethodDescriptionAutoCompletableTextEditor.getAlreadyEnteredText
(CompletionProvider provider) TextEditorSupport.getAlreadyEnteredText
(CompletionProvider provider) -
Uses of CompletionProvider in org.gjt.sp.jedit.textarea
Modifier and TypeMethodDescriptionstatic int
JEditTextArea.findWordStart
(CharSequence line, int pos, CompletionProvider p) Locates the start of the word at the specified position.JEditTextArea.getAlreadyEnteredText
(CompletionProvider provider)