|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.text.contentassist.HippieProposalComputer
public final class HippieProposalComputer
A computer wrapper for the hippie processor.
Constructor Summary | |
---|---|
HippieProposalComputer()
Default ctor to make it instantiatable via the extension mechanism. |
Method Summary | |
---|---|
java.util.List |
computeCompletionProposals(ContentAssistInvocationContext context,
org.eclipse.core.runtime.IProgressMonitor monitor)
Returns a list of completion proposals valid at the given invocation context. |
java.util.List |
computeContextInformation(ContentAssistInvocationContext context,
org.eclipse.core.runtime.IProgressMonitor monitor)
Returns context information objects valid at the given invocation context. |
java.lang.String |
getErrorMessage()
Returns the reason why this computer was unable to produce any completion proposals or context information. |
void |
sessionEnded()
Informs the computer that a content assist session has ended. |
void |
sessionStarted()
Informs the computer that a content assist session has started. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HippieProposalComputer()
Method Detail |
---|
public java.util.List computeCompletionProposals(ContentAssistInvocationContext context, org.eclipse.core.runtime.IProgressMonitor monitor)
ICompletionProposalComputer
computeCompletionProposals
in interface ICompletionProposalComputer
context
- the context of the content assist invocationmonitor
- a progress monitor to report progress. The monitor is private to this
invocation, i.e. there is no need for the receiver to spawn a sub monitor.
ICompletionProposal
)public java.util.List computeContextInformation(ContentAssistInvocationContext context, org.eclipse.core.runtime.IProgressMonitor monitor)
ICompletionProposalComputer
computeContextInformation
in interface ICompletionProposalComputer
context
- the context of the content assist invocationmonitor
- a progress monitor to report progress. The monitor is private to this
invocation, i.e. there is no need for the receiver to spawn a sub monitor.
IContextInformation
)public java.lang.String getErrorMessage()
ICompletionProposalComputer
getErrorMessage
in interface ICompletionProposalComputer
null
if no error occurredpublic void sessionStarted()
ICompletionProposalComputer
ICompletionProposalComputer.sessionEnded()
call, but not necessarily by calls to
computeCompletionProposals
or
computeContextInformation.
sessionStarted
in interface ICompletionProposalComputer
public void sessionEnded()
ICompletionProposalComputer
sessionEnded
in interface ICompletionProposalComputer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |