| java.lang.Object org.drools.eclipse.editors.completion.AbstractCompletionProcessor
All known Subclasses: org.drools.eclipse.editors.completion.DefaultCompletionProcessor, org.drools.eclipse.editors.completion.MockCompletionProcessor,
AbstractCompletionProcessor | abstract public class AbstractCompletionProcessor implements IContentAssistProcessor(Code) | | author: Kris Verlaenen |
AbstractCompletionProcessor | public AbstractCompletionProcessor(IEditorPart editor)(Code) | | |
computeCompletionProposals | public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset)(Code) | | |
computeContextInformation | public IContextInformation[] computeContextInformation(ITextViewer viewer, int documentOffset)(Code) | | |
filterProposalsOnPrefix | protected static void filterProposalsOnPrefix(String prefix, List props)(Code) | | Filter out the proposals whose content does not start with the given prefix.
|
getCompletionProposalAutoActivationCharacters | public char[] getCompletionProposalAutoActivationCharacters()(Code) | | |
getCompletionProposals | abstract protected List getCompletionProposals(ITextViewer viewer, int documentOffset)(Code) | | Returns a list of RuleCompletionProposals.
Parameters: viewer - Parameters: documentOffset - |
getContextInformationAutoActivationCharacters | public char[] getContextInformationAutoActivationCharacters()(Code) | | |
getContextInformationValidator | public IContextInformationValidator getContextInformationValidator()(Code) | | |
getEditor | protected IEditorPart getEditor()(Code) | | |
readBackwards | protected String readBackwards(int documentOffset, IDocument doc) throws BadLocationException(Code) | | Read some text from behind the cursor position.
This provides context to both filter what is shown based
on what the user has typed in, and also to provide more information for the
list of suggestions based on context.
|
|
|