public class FieldsSuggestionProvider extends Object implements SuggestionProvider
Constructor and Description |
---|
FieldsSuggestionProvider(ISnapshot snapshot)
Builds this object passing the snapshot
|
Modifier and Type | Method and Description |
---|---|
List<ContentAssistElement> |
getSuggestions(String context)
Returns the list of ICompletionProposals
It scans the ordered set up to the first valid element.
|
void |
setClassesSuggestions(ISnapshot snapshot,
IContextInformation[] classSuggestions) |
public FieldsSuggestionProvider(ISnapshot snapshot)
snapshot
- public void setClassesSuggestions(ISnapshot snapshot, IContextInformation[] classSuggestions)
public List<ContentAssistElement> getSuggestions(String context)
getSuggestions
in interface SuggestionProvider
context
- is the prefix to be searched from. It can be an empty String but must not
be null.