org.eclipse.jface.text.contentassist |
Package-level Javadoc
Provides a content assist add-on for an ITextViewer.
Content assist supports the user in writing by proposing context
sensitive completions at a given document position. A completion can also
be a incomplete in itself and content assist provides means to deal with
nested completions.
Package Specification
IContentAssistant defines the concept of the content assist add-on.
It collaborates with content type specific completion processors (IContentAssistProcessor)
in order to generate completion proposals (ICompletionProposal)
valid at the current document position. The package provides a default
implementation ContentAssistant which completely defines and implements
the UI and the control flow for content assist.
|
Java Source File Name | Type | Comment |
AdditionalInfoController.java | Class | Displays the additional information available for a completion proposal. |
CompletionProposal.java | Class | The standard implementation of the ICompletionProposal interface. |
CompletionProposalPopup.java | Class | This class is used to present proposals to the user. |
ContentAssistant.java | Class | The standard implementation of the IContentAssistant interface. |
ContentAssistEvent.java | Class | Describes the state that the content assistant is in when completing proposals. |
ContentAssistSubjectControlAdapter.java | Class | This content assist adapter delegates the calls either to
a text viewer or to a content assist subject control. |
ContextInformation.java | Class | A default implementation of the IContextInformation interface. |
ContextInformationPopup.java | Class | This class is used to present context information to the user.
If multiple contexts are valid at the current cursor location,
a list is presented from which the user may choose one context.
Once the user makes their choice, or if there was only a single
possible context, the context information is shown in a tool tip like popup. |
ContextInformationValidator.java | Class | A default implementation of the IContextInfomationValidator interface.
This implementation determines whether the information is valid by asking the content
assist processor for all context information objects for the current position. |
Helper.java | Class | Helper class for testing widget state. |
ICompletionListener.java | Interface | A completion listener is informed before the content assistant computes completion proposals.
In order to provide backward compatibility for clients of ICompletionListener , extension
interfaces are used to provide a means of evolution. |
ICompletionListenerExtension.java | Interface | Extends
org.eclipse.jface.text.contentassist.ICompletionListener with an additional notification about restarting the current code assist session. |
ICompletionProposal.java | Interface | The interface of 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 chosen completion once it has been inserted.
In order to provide backward compatibility for clients of ICompletionProposal , extension
interfaces are used to provide a means of evolution. |
ICompletionProposalExtension.java | Interface | |
ICompletionProposalExtension2.java | Interface | |
ICompletionProposalExtension3.java | Interface | |
ICompletionProposalExtension4.java | Interface | |
ICompletionProposalExtension5.java | Interface | |
IContentAssistant.java | Interface | An IContentAssistant provides support on interactive content completion.
The content assistant is a
org.eclipse.jface.text.ITextViewer add-on. |
IContentAssistantExtension.java | Interface | |
IContentAssistantExtension2.java | Interface | |
IContentAssistantExtension3.java | Interface | |
IContentAssistListener.java | Interface | An interface whereby listeners can not only receive key events,
but can also consume them to prevent subsequent listeners from
processing the event. |
IContentAssistProcessor.java | Interface | A content assist processor proposes completions and
computes context information for a particular content type.
A content assist processor is a
org.eclipse.jface.text.contentassist.IContentAssistant plug-in.
This interface must be implemented by clients. |
IContextInformation.java | Interface | The interface of context information presented to the user and
generated by content assist processors.
In order to provide backward compatibility for clients of
IContextInformation , extension interfaces are used to
provide a means of evolution. |
IContextInformationExtension.java | Interface | Extends
org.eclipse.jface.text.contentassist.IContextInformation with
the ability to freely position the context information. |
IContextInformationPresenter.java | Interface | A context information presenter determines the presentation
of context information depending on a given document position. |
IContextInformationValidator.java | Interface | A context information validator is used to determine if
a displayed context information is still valid or should
be dismissed. |
JFaceTextMessages.java | Class | Helper class to get NLSed messages. |
PopupCloser.java | Class | A generic closer class used to monitor various
interface events in order to determine whether
a content assistant should be terminated and all
associated windows be closed. |