| org.drools.eclipse.editors.completion.RuleCompletionProcessor org.drools.eclipse.dsl.editor.completion.DSLRuleCompletionProcessor
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) | protected DSLRuleEditor | getDSLRuleEditor() | public String | getLastLine(String backText) | public String | getLastNonDashLine(String backText) | protected List | getProposals(DSLAdapter adapter, String obj, String last) The DSLTree is configurable. |
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) | | |
getLastLine | public String getLastLine(String backText)(Code) | | because of how the backText works, we need to get the last line, so that
we can pass it to the DSLUtility
Parameters: backText - |
getLastNonDashLine | public String getLastNonDashLine(String backText)(Code) | | Returns the last line that doesn't start with a dash
Parameters: backText - |
getProposals | protected List getProposals(DSLAdapter adapter, String obj, String last)(Code) | | The DSLTree is configurable. It can either return just the child of the
last token found, or it can traverse the tree and generate all the
combinations beneath the last matching node. TODO I don't know how to add
configuration to the editor, so it needs to be hooked up to the
configuration for the editor later.
Parameters: last - |
Methods inherited from org.drools.eclipse.editors.completion.RuleCompletionProcessor | protected void addLHSCompletionProposals(List list, int documentOffset, Location location, String prefix, String backText)(Code)(Java Doc) protected void addRHSCompletionProposals(List list, int documentOffset, String prefix, String backText, String conditions, String consequence)(Code)(Java Doc) protected List getCompletionProposals(ITextViewer viewer, int documentOffset)(Code)(Java Doc)
|
|
|