public interface ParameterChoicesProvider
ParameterizedCompletion
's parameters.
So, for example, if the user code-completes a function or method, if
a ParameterChoicesProvider
is installed, it can return possible
completions for the parameters to that function or method.限定符和类型 | 方法和说明 |
---|---|
java.util.List<Completion> |
getParameterChoices(javax.swing.text.JTextComponent tc,
ParameterizedCompletion.Parameter param)
Returns a list of choices for a specific parameter.
|
java.util.List<Completion> getParameterChoices(javax.swing.text.JTextComponent tc, ParameterizedCompletion.Parameter param)
tc
- The text component.param
- The currently focused parameter.null
for
"no parameters," but might also be an empty list.