|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.net4j.util.ui.proposals.RegExContentProposalProvider
public class RegExContentProposalProvider
Content assist proposal provider for regular expressions.
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 Summary | |
|---|---|
RegExContentProposalProvider(boolean isFind)
Creates a new completion proposal provider. |
|
| Method Summary | |
|---|---|
IContentProposal[] |
getProposals(String contents,
int position)
Return an array of content proposals representing the valid proposals for a field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegExContentProposalProvider(boolean isFind)
isFind - true if the provider is used for the 'find' field false if the provider is used
for the 'reaplce' field| Method Detail |
|---|
public IContentProposal[] getProposals(String contents,
int position)
org.eclipse.jface.fieldassist.IContentProposalProvider
getProposals in interface IContentProposalProvidercontents - the current contents of the text fieldposition - the current position of the cursor in the contents
IContentProposal that represent valid
proposals for the field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||