public class FindReplaceDocumentAdapterContentProposalProvider extends Object implements IContentProposalProvider
Clients can subclass to provide additional proposals in case they are supported by their own find/replace mechanism.
Note: Clients must not make any assumptions about the returned
proposals. This can change from release to release to adapt to
changes made in
|Constructor and Description|
Creates a new completion proposal provider.
|Modifier and Type||Method and Description|
Return an array of content proposals representing the valid proposals for a field.
public FindReplaceDocumentAdapterContentProposalProvider(boolean isFind)
trueif the provider is used for the 'find' field
falseif the provider is used for the 'replace' field
public IContentProposal getProposals(String contents, int position)
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.