Class ExpressionFunctionProposalProvider
java.lang.Object
org.dawnsci.common.widgets.celleditor.ExpressionFunctionProposalProvider
- All Implemented Interfaces:
org.eclipse.jface.fieldassist.IContentProposalProvider
public class ExpressionFunctionProposalProvider
extends Object
implements org.eclipse.jface.fieldassist.IContentProposalProvider
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionFunctionProposalProvider(Map<String, Object> functions) Construct a ExpressionFunctionProposalProvider whose content proposals are always the specified array of Objects. -
Method Summary
Modifier and TypeMethodDescriptionint[]intorg.eclipse.jface.fieldassist.IContentProposal[]getProposals(String contents, int position) voidsetProposals(Map<String, Object> functions)
-
Constructor Details
-
ExpressionFunctionProposalProvider
Construct a ExpressionFunctionProposalProvider whose content proposals are always the specified array of Objects.- Parameters:
functions- the Map of Objects that proposals are extracted from
-
-
Method Details
-
getProposals
- Specified by:
getProposalsin interfaceorg.eclipse.jface.fieldassist.IContentProposalProvider
-
setProposals
-
getLastMatchBounds
public int[] getLastMatchBounds() -
getLastPosition
public int getLastPosition()
-