Package org.fife.ui.autocomplete
Interface ParameterChoicesProvider
-
public interface ParameterChoicesProviderProvides completions for aParameterizedCompletion's parameters. So, for example, if the user code-completes a function or method, if aParameterChoicesProvideris installed, it can return possible completions for the parameters to that function or method.- Version:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Completion>getParameterChoices(javax.swing.text.JTextComponent tc, ParameterizedCompletion.Parameter param)Returns a list of choices for a specific parameter.
-
-
-
Method Detail
-
getParameterChoices
java.util.List<Completion> getParameterChoices(javax.swing.text.JTextComponent tc, ParameterizedCompletion.Parameter param)
Returns a list of choices for a specific parameter.- Parameters:
tc- The text component.param- The currently focused parameter.- Returns:
- The list of parameters. This may be
nullfor "no parameters," but might also be an empty list.
-
-