|
SWT LPEX v3.0.5 |
|||||||||||
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
.
IContentAssistProcessor
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. |
Image |
getImage()
Return the image to be displayed in the list of completion proposals. |
Method Detail |
public void apply(LpexTextViewer textViewer)
textViewer
- the LpexTextViewer into whose document the proposed
completion should be insertedpublic String getAdditionalProposalInfo()
null
public String getDisplayString()
public Image getImage()
null
if no image is desiredpublic IContextInformation getContextInformation()
null
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |