public class RegExContentProposalProvider extends Object implements IContentProposalProvider
Note: Replaces RegExContentAssistProcessor
which was introduced in 3.0.
Needed by org.eclipse.mylyn.internal.team.ui.preferences.workaround.MylynTeamPreferencePage.
TODO Ask platform guys to open this API
Constructor and Description |
---|
RegExContentProposalProvider(boolean isFind)
Creates a new completion proposal provider.
|
Modifier and Type | Method and Description |
---|---|
IContentProposal[] |
getProposals(String contents,
int position) |
public RegExContentProposalProvider(boolean isFind)
isFind
- true
if the provider is used for the 'find' field false
if the provider is used
for the 'reaplce' fieldpublic IContentProposal[] getProposals(String contents, int position)
getProposals
in interface IContentProposalProvider
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html