Option |
Description |
Default |
Source folder |
Enter a source folder for the new
classes. Either type a valid source folder path or click Browse
to select a source folder via a dialog. |
The source folder of the element
that was selected when the wizard was started. |
Package |
Enter a package to contain the new
classes. Either type a valid package name or click Browse
to select a package via a dialog. |
The package of the element that was
selected when the wizard was started. |
Context class name |
Enter a name for the new context class. |
<Context> |
Modifiers |
Select one or more access modifiers for the new class:
-
public (uncheck for default visibility)
-
abstract
-
final
|
public |
Superclass |
Type or click Browse
to select a superclass for the context class. |
<java.lang.Object> |
State field name |
Type a name for the field that holds the current state. |
<state> |
State class name |
Type or click Browse
to select the class to be used as the implementation class |
The type or the primary type of the
compilation unit that was selected when the wizard was started |
Method |
Click Add to
enter the return types and names of the methods that the state class should implement. |
<blank> |
Use context as parameter |
Determines whether to use the context as a parameter
to each state method. |
<true> |