| java.lang.Object org.drools.eclipse.editors.completion.AbstractCompletionProcessor org.drools.eclipse.editors.completion.DefaultCompletionProcessor org.drools.eclipse.editors.completion.RuleCompletionProcessor
All known Subclasses: org.drools.eclipse.flow.ruleflow.view.property.constraint.ConstraintCompletionProcessor, org.drools.eclipse.dsl.editor.completion.DSLRuleCompletionProcessor,
RuleCompletionProcessor | public class RuleCompletionProcessor extends DefaultCompletionProcessor (Code) | | For handling within rules.
author: Michael Neale, Kris Verlanen |
Method Summary | |
protected void | addLHSCompletionProposals(List list, int documentOffset, Location location, String prefix, String backText) | protected void | addRHSCompletionProposals(List list, int documentOffset, String prefix, String backText, String conditions, String consequence) | boolean | containsProposal(Collection proposals, String newProposal) | protected List | getCompletionProposals(ITextViewer viewer, int documentOffset) |
addLHSCompletionProposals | protected void addLHSCompletionProposals(List list, int documentOffset, Location location, String prefix, String backText)(Code) | | |
addRHSCompletionProposals | protected void addRHSCompletionProposals(List list, int documentOffset, String prefix, String backText, String conditions, String consequence)(Code) | | |
containsProposal | boolean containsProposal(Collection proposals, String newProposal)(Code) | | Attempt to compare proposals of different types based on the tokenized display string
Parameters: proposals - Parameters: newProposal - true if the collection contains a prposal which matches the new Proposal.The match is based on the first token based on a space split |
getCompletionProposals | protected List getCompletionProposals(ITextViewer viewer, int documentOffset)(Code) | | |
Methods inherited from org.drools.eclipse.editors.completion.DefaultCompletionProcessor | protected Map getAttributes()(Code)(Java Doc) protected List getClassesInPackage()(Code)(Java Doc) protected List getCompletionProposals(ITextViewer viewer, int documentOffset)(Code)(Java Doc) protected List getFunctions()(Code)(Java Doc) protected List getGlobals()(Code)(Java Doc) protected List getImports()(Code)(Java Doc) protected List getJavaCompletionProposals(int documentOffset, String javaText, String prefix, Map params)(Code)(Java Doc) protected Collection getJavaMvelCompletionProposals(int documentOffset, String javaText, String prefix, Map params)(Code)(Java Doc) protected String getPackage()(Code)(Java Doc) protected List getPossibleProposals(ITextViewer viewer, int documentOffset, String backText, String prefix)(Code)(Java Doc) protected FactTemplateDescr getTemplate(String name)(Code)(Java Doc) protected Set getTemplates()(Code)(Java Doc) public static String getTextWithoutPrefix(String javaText, String prefix)(Code)(Java Doc) protected Set getUniqueImports()(Code)(Java Doc) protected boolean isStartOfDialectExpression(String text)(Code)(Java Doc) protected void requestJavaCompletionProposals(String javaText, String prefix, int documentOffset, Map params, Collection results)(Code)(Java Doc)
|
Methods inherited from org.drools.eclipse.editors.completion.AbstractCompletionProcessor | public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset)(Code)(Java Doc) public IContextInformation[] computeContextInformation(ITextViewer viewer, int documentOffset)(Code)(Java Doc) protected static void filterProposalsOnPrefix(String prefix, List props)(Code)(Java Doc) public char[] getCompletionProposalAutoActivationCharacters()(Code)(Java Doc) abstract protected List getCompletionProposals(ITextViewer viewer, int documentOffset)(Code)(Java Doc) public char[] getContextInformationAutoActivationCharacters()(Code)(Java Doc) public IContextInformationValidator getContextInformationValidator()(Code)(Java Doc) protected IEditorPart getEditor()(Code)(Java Doc) public String getErrorMessage()(Code)(Java Doc) protected String readBackwards(int documentOffset, IDocument doc) throws BadLocationException(Code)(Java Doc)
|
|
|