org.fife.ui.autocomplete
Interface ParameterChoicesProvider


public interface ParameterChoicesProvider

Provides completions for a 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.

Version:
1.0
Author:
Robert Futrell

Method Summary
 List getParameterChoices(JTextComponent tc, ParameterizedCompletion.Parameter param)
          Returns a list of choices for a specific parameter.
 

Method Detail

getParameterChoices

List getParameterChoices(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 null for "no parameters," but might also be an empty list.


Copyright © 2003-2011. All Rights Reserved.