Class MultiSuggestionProvider
- java.lang.Object
-
- org.eclipse.mat.ui.snapshot.panes.oql.contentAssist.MultiSuggestionProvider
-
- All Implemented Interfaces:
SuggestionProvider
public class MultiSuggestionProvider extends java.lang.Object implements SuggestionProvider
Combines the results of several suggestion providers.
-
-
Constructor Summary
Constructors Constructor Description MultiSuggestionProvider(SuggestionProvider... l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ContentAssistElement>getSuggestions(java.lang.String context)Given the context (prefix provided by the user) it returns available suggestions.
-
-
-
Constructor Detail
-
MultiSuggestionProvider
public MultiSuggestionProvider(SuggestionProvider... l)
-
-
Method Detail
-
getSuggestions
public java.util.List<ContentAssistElement> getSuggestions(java.lang.String context)
Description copied from interface:SuggestionProviderGiven the context (prefix provided by the user) it returns available suggestions.- Specified by:
getSuggestionsin interfaceSuggestionProvider- Parameters:
context- is the prefix to be searched from. It can be an empty String but must not be null.- Returns:
- the list of suggestion proposals.
-
-