|
||||||||||
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.
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 |
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 |