|
SWT LPEX v3.0.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.lpex.alef.contentassist.CompletionProposal
The standard LPEX implementation of the ICompletionProposal interface.
| Constructor Summary | |
|---|---|
| CompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition)
Create a new completion proposal based on the information provided. | |
| CompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition,
org.eclipse.swt.graphics.Image image,
String displayString,
IContextInformation contextInformation,
String additionalProposalInfo)
Create a new completion proposal. | |
| Method Summary | |
|---|---|
| void | apply(org.eclipse.jface.text.IDocument document)
Deprecated. Use apply(LpexTextViewer). |
| void | apply(LpexTextViewer viewer)
In LPEX, we apply against the LpexTextViewer directly, not its document. |
| String | getAdditionalProposalInfo()
Return optional additional information about the proposal. |
| IContextInformation | getContextInformation()
Return optional context information associated with this proposal. |
| String | getDisplayString()
Return the string to be displayed in the list of completion proposals. |
| org.eclipse.swt.graphics.Image | getImage()
Return the image to be displayed in the list of completion proposals. |
| Methods inherited from class java.lang.Object |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition)
public CompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition,
org.eclipse.swt.graphics.Image image,
String displayString,
IContextInformation contextInformation,
String additionalProposalInfo)
| Method Detail |
public void apply(org.eclipse.jface.text.IDocument document)
public void apply(LpexTextViewer viewer)
public IContextInformation getContextInformation()
public org.eclipse.swt.graphics.Image getImage()
public String getDisplayString()
public String getAdditionalProposalInfo()
|
SWT LPEX v3.0.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||