Eclipse Platform
Release 3.3

org.eclipse.jface.fieldassist
Interface IContentProposalProvider

All Known Implementing Classes:
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

Method Summary
 IContentProposal[] getProposals(String contents, int position)
          Return an array of Objects representing the valid content proposals for a field.
 

Method Detail

getProposals

public IContentProposal[] getProposals(String contents,
                                       int position)
Return an array of Objects representing the valid content proposals for a field.

Parameters:
contents - the current contents of the text field
position - the current position of the cursor in the contents
Returns:
the array of IContentProposal that represent valid proposals for the field.

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.