Main Page   Packages   Class Hierarchy   Compound List   Compound Members   Related Pages  

scripting.BeanShellNameCompleter Class Reference

Inheritance diagram for scripting.BeanShellNameCompleter:

scripting.NameCompleter List of all members.

Public Member Functions

 BeanShellNameCompleter (BSFEngine engine)
 Creates a new instance of BeanShellNameCompleter.

List completeName (String context, String part)
 This function is called whenever the owner wants to complete a string.

List provideHelp (String method)
 This function returns a list of help Strings.


Detailed Description

Author:
palmer


Member Function Documentation

List scripting.BeanShellNameCompleter.completeName String    context,
String    part
 

This function is called whenever the owner wants to complete a string.

The parameter context can be used to determine context. For instance, typing: "import java.la<TAB>" would give context = "import" and part = "java.la".

Returns:
A List of possible completions. Should only contain Strings.
Parameters:
context The text preceding the string to be completed.
part The substring to be completed

Implements scripting.NameCompleter.

List scripting.BeanShellNameCompleter.provideHelp String    method
 

This function returns a list of help Strings.

It is intended to be used to help the user when calling a function/method by providing an argument list.

Returns:
a List of helpful Strings
Parameters:
method The method string

Implements scripting.NameCompleter.


The documentation for this class was generated from the following file:
Generated on Mon Dec 15 19:38:44 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3