|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for completion proposals generated by content-assist processors. A completion proposal contains information used to present the proposed completion to the user, to insert the completion should the user select it, and to present context information for the choosen completion once it has been inserted.
The interface can be implemented by clients. By default, clients use CompletionProposal as the standard implementer of this interface.
This is the LPEX version of org.eclipse.jface.text.contentassist.ICompletionProposal.
Method Summary | |
---|---|
void | apply(LpexTextViewer textViewer)
Insert the proposed completion into the document of the given text viewer. |
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. |
Method Detail |
public void apply(LpexTextViewer textViewer)
public String getAdditionalProposalInfo()
public String getDisplayString()
public org.eclipse.swt.graphics.Image getImage()
public IContextInformation getContextInformation()
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |