| java.lang.Object org.drools.eclipse.editors.completion.RuleCompletionProposal
RuleCompletionProposal | public class RuleCompletionProposal implements ICompletionProposal(Code) | | Holds a completion proposal to be popped up.
author: Michael Neale |
Inner Class :public static class RuleCompletionProposalComparator implements Comparator | |
Constructor Summary | |
public | RuleCompletionProposal(int replacementOffset, int replacementLength, String content) This is used when the stuff that is displayed, is the stuff that is used. | public | RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content) This is used when a different display value is shown to what is put in when selected. | public | RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content, Image image) | public | RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content, int cursorPosition) | public | RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content, int cursorPosition, Image image) This is used when a different display value is shown to what is put in when selected. |
RuleCompletionProposal | public RuleCompletionProposal(int replacementOffset, int replacementLength, String content)(Code) | | This is used when the stuff that is displayed, is the stuff that is used.
|
RuleCompletionProposal | public RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content)(Code) | | This is used when a different display value is shown to what is put in when selected.
|
RuleCompletionProposal | public RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content, Image image)(Code) | | Also allows an icon to be used
|
RuleCompletionProposal | public RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content, int cursorPosition)(Code) | | |
RuleCompletionProposal | public RuleCompletionProposal(int replacementOffset, int replacementLength, String display, String content, int cursorPosition, Image image)(Code) | | This is used when a different display value is shown to what is put in when selected.
|
apply | public void apply(IDocument document)(Code) | | |
getAdditionalProposalInfo | public String getAdditionalProposalInfo()(Code) | | |
getContextInformation | public IContextInformation getContextInformation()(Code) | | |
getCursorPosition | public int getCursorPosition()(Code) | | |
getImage | public Image getImage()(Code) | | |
getPriority | public int getPriority()(Code) | | |
getReplacementLength | public int getReplacementLength()(Code) | | |
getSelection | public Point getSelection(IDocument document)(Code) | | |
hashCode | public int hashCode()(Code) | | |
setImage | public void setImage(Image image)(Code) | | |
setPriority | public void setPriority(int priority)(Code) | | |
|
|