Package org.eclipse.jface.fieldassist
Interface IContentProposalProvider
- All Known Implementing Classes:
FindReplaceDocumentAdapterContentProposalProvider,SimpleContentProposalProvider
public interface IContentProposalProvider
IContentProposalProvider provides an array of IContentProposals that are
appropriate for a textual dialog field, given the field's current content and
the current cursor position.
- Since:
- 3.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetProposals(String contents, int position) Return an array of content proposals representing the valid proposals for a field.
-
Method Details
-
getProposals
Return an array of content proposals representing the valid proposals for a field.- Parameters:
contents- the current contents of the text fieldposition- the current position of the cursor in the contents- Returns:
- the array of
IContentProposalthat represent valid proposals for the field.
-