Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

GuiComponents.scripting.BeanShellNameCompleter Class Reference

Inheritance diagram for GuiComponents.scripting.BeanShellNameCompleter:

Inheritance graph
[legend]
Collaboration diagram for GuiComponents.scripting.BeanShellNameCompleter:

Collaboration graph
[legend]
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.


Private Attributes

NameCompletionTable nct

Detailed Description

Author:
palmer

Definition at line 16 of file BeanShellNameCompleter.java.


Member Function Documentation

List GuiComponents.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 GuiComponents.scripting.NameCompleter.

Definition at line 31 of file BeanShellNameCompleter.java.

List GuiComponents.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 GuiComponents.scripting.NameCompleter.

Definition at line 42 of file BeanShellNameCompleter.java.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:56:21 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5