|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.ui.InteractionsScriptController
public class InteractionsScriptController
Controller for an interactions script.
| Field Summary | |
|---|---|
private Action |
_closeScriptAction
Action to end the script. |
private Action |
_executeInteractionAction
Action to execute the current interaction. |
private InteractionsPane |
_interactionsPane
Interactions pane. |
private InteractionsScriptModel |
_model
Associated model. |
private Action |
_nextInteractionAction
Action to go forward in the script. |
private InteractionsScriptPane |
_pane
Associated view. |
private Action |
_prevInteractionAction
Action to go back in the script. |
| Constructor Summary | |
|---|---|
InteractionsScriptController(InteractionsScriptModel model,
Action closeAction,
InteractionsPane interactionsPane)
Builds a new interactions script pane and links it to the given model. |
|
| Method Summary | |
|---|---|
protected void |
_setupAction(Action a,
String name,
String desc)
Sets up fields on the given Action, such as the name and tooltip. |
InteractionsScriptPane |
getPane()
|
void |
setActionsDisabled()
Disables navigation actions |
void |
setActionsEnabled()
Sets the navigation actions to be enabled, if appropriate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private InteractionsScriptModel _model
private InteractionsScriptPane _pane
private InteractionsPane _interactionsPane
private Action _prevInteractionAction
private Action _nextInteractionAction
private Action _executeInteractionAction
private Action _closeScriptAction
| Constructor Detail |
|---|
public InteractionsScriptController(InteractionsScriptModel model,
Action closeAction,
InteractionsPane interactionsPane)
model - the InteractionsScriptModel to usecloseAction - how to close this script.| Method Detail |
|---|
public void setActionsEnabled()
public void setActionsDisabled()
public InteractionsScriptPane getPane()
protected void _setupAction(Action a,
String name,
String desc)
a - Action to modifyname - Default name for the Action (for buttons)desc - Short description of the Action (for tooltips)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||