Classes | |
class | ConsoleKeyListener |
class | InitPythonAction |
class | StyledTextWriter |
Public Member Functions | |
void | execFile () |
void | execFile (final String url) |
boolean | getEnabledExecBtn () |
GrxJythonPromptView (String name, GrxPluginManager manager, GrxBaseViewPart vp, Composite parent) | |
constructor | |
void | interrupt () |
void | registerItemChange (GrxBaseItem item, int event) |
void | selectExecBtn () |
void | setNameService () |
void | setUp () |
void | shutdown () |
void | updateEditerFont () |
void | waitInput (final String msg) |
void | waitInputConfirm (final String msg) |
void | waitInputMenu (String[][] menuList) |
Object | waitInputMessage (String msg) |
boolean | waitInputSelect (final String msg) |
void | waitInputSetMessage (String msg) |
Private Member Functions | |
String | getCommand () |
IAction | getStartSimulationAction () |
void | selectedExecBtn () |
void | styleExecBtn (boolean selected) |
Private Attributes | |
Button | btnExec_ |
String | com_ |
GrxPythonScriptItem | currentItem_ |
Display | display_ |
Frame | frame_ |
List< String > | history_ = new LinkedList<String>() |
int | hpos_ = 0 |
InteractiveInterpreter | interpreter_ = new InteractiveInterpreter() |
MenuDialog | menuDialog |
String | message_ |
Composite | parent_ |
String | prompt_ = ">>> " |
Object | result_ |
Image | simScriptStartIcon_ |
Image | simScriptStopIcon_ |
StyledTextWriter | stWriter_ |
StyledText | styledText_ |
Thread | thread_1_ |
Thread | thread_2_ |
Writer | writer_ |
Static Private Attributes | |
static final int | HISTORY_SIZE = 50 |
static final int | INTERVAL = 100 |
static final int | KS_BACK_SPACE = SWT.BS |
static final int | KS_CONTROL = SWT.CTRL |
static final int | KS_CTRL_A = 'a' | SWT.CTRL |
static final int | KS_CTRL_B = 'b' | SWT.CTRL |
static final int | KS_CTRL_E = 'e' | SWT.CTRL |
static final int | KS_CTRL_F = 'f' | SWT.CTRL |
static final int | KS_CTRL_N = 'n' | SWT.CTRL |
static final int | KS_CTRL_P = 'p' | SWT.CTRL |
static final int | KS_CTRL_U = 'u' | SWT.CTRL |
static final int | KS_DELETE = SWT.DEL |
static final int | KS_DOWN = SWT.ARROW_DOWN |
static final int | KS_ENTER = SWT.CR |
static final int | KS_ENTER_ALT = SWT.CR | SWT.ALT |
static final int | KS_ENTER_CTRL = SWT.CR | SWT.CTRL |
static final int | KS_ENTER_SHIFT = SWT.CR | SWT.SHIFT |
static final int | KS_LEFT = SWT.ARROW_LEFT |
static final int | KS_RIGHT = SWT.ARROW_RIGHT |
static final int | KS_SHIFT = SWT.SHIFT |
static final int | KS_UP = SWT.ARROW_UP |
Definition at line 75 of file GrxJythonPromptView.java.
com.generalrobotix.ui.view.GrxJythonPromptView.GrxJythonPromptView | ( | String | name, |
GrxPluginManager | manager, | ||
GrxBaseViewPart | vp, | ||
Composite | parent | ||
) | [inline] |
constructor
name | name of this view |
manager | PluginManager |
vp | |
parent |
Definition at line 128 of file GrxJythonPromptView.java.
Definition at line 376 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.execFile | ( | final String | url | ) | [inline] |
Definition at line 390 of file GrxJythonPromptView.java.
String com.generalrobotix.ui.view.GrxJythonPromptView.getCommand | ( | ) | [inline, private] |
Definition at line 418 of file GrxJythonPromptView.java.
Definition at line 590 of file GrxJythonPromptView.java.
IAction com.generalrobotix.ui.view.GrxJythonPromptView.getStartSimulationAction | ( | ) | [inline, private] |
Definition at line 630 of file GrxJythonPromptView.java.
Definition at line 266 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.registerItemChange | ( | GrxBaseItem | item, |
int | event | ||
) | [inline] |
Reimplemented from com.generalrobotix.ui.GrxBaseView.
Definition at line 476 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.selectedExecBtn | ( | ) | [inline, private] |
Definition at line 599 of file GrxJythonPromptView.java.
Definition at line 594 of file GrxJythonPromptView.java.
Definition at line 426 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.setUp | ( | ) | [inline] |
Reimplemented from com.generalrobotix.ui.GrxBaseView.
Definition at line 251 of file GrxJythonPromptView.java.
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 586 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.styleExecBtn | ( | boolean | selected | ) | [inline, private] |
Definition at line 609 of file GrxJythonPromptView.java.
Reimplemented from com.generalrobotix.ui.GrxBaseView.
Definition at line 654 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.waitInput | ( | final String | msg | ) | [inline] |
Definition at line 495 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.waitInputConfirm | ( | final String | msg | ) | [inline] |
Definition at line 499 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.waitInputMenu | ( | String | menuList[][] | ) | [inline] |
Definition at line 529 of file GrxJythonPromptView.java.
Object com.generalrobotix.ui.view.GrxJythonPromptView.waitInputMessage | ( | String | msg | ) | [inline] |
Definition at line 522 of file GrxJythonPromptView.java.
boolean com.generalrobotix.ui.view.GrxJythonPromptView.waitInputSelect | ( | final String | msg | ) | [inline] |
Definition at line 509 of file GrxJythonPromptView.java.
void com.generalrobotix.ui.view.GrxJythonPromptView.waitInputSetMessage | ( | String | msg | ) | [inline] |
Definition at line 533 of file GrxJythonPromptView.java.
Button com.generalrobotix.ui.view.GrxJythonPromptView.btnExec_ [private] |
Definition at line 89 of file GrxJythonPromptView.java.
String com.generalrobotix.ui.view.GrxJythonPromptView.com_ [private] |
Definition at line 88 of file GrxJythonPromptView.java.
Definition at line 91 of file GrxJythonPromptView.java.
Display com.generalrobotix.ui.view.GrxJythonPromptView.display_ [private] |
Definition at line 80 of file GrxJythonPromptView.java.
Frame com.generalrobotix.ui.view.GrxJythonPromptView.frame_ [private] |
Definition at line 84 of file GrxJythonPromptView.java.
List<String> com.generalrobotix.ui.view.GrxJythonPromptView.history_ = new LinkedList<String>() [private] |
Definition at line 86 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.HISTORY_SIZE = 50 [static, private] |
Definition at line 85 of file GrxJythonPromptView.java.
int com.generalrobotix.ui.view.GrxJythonPromptView.hpos_ = 0 [private] |
Definition at line 87 of file GrxJythonPromptView.java.
InteractiveInterpreter com.generalrobotix.ui.view.GrxJythonPromptView.interpreter_ = new InteractiveInterpreter() [private] |
Definition at line 76 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.INTERVAL = 100 [static, private] |
Definition at line 119 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_BACK_SPACE = SWT.BS [static, private] |
Definition at line 112 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CONTROL = SWT.CTRL [static, private] |
Definition at line 96 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_A = 'a' | SWT.CTRL [static, private] |
Definition at line 98 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_B = 'b' | SWT.CTRL [static, private] |
Definition at line 101 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_E = 'e' | SWT.CTRL [static, private] |
Definition at line 99 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_F = 'f' | SWT.CTRL [static, private] |
Definition at line 100 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_N = 'n' | SWT.CTRL [static, private] |
Definition at line 102 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_P = 'p' | SWT.CTRL [static, private] |
Definition at line 103 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_CTRL_U = 'u' | SWT.CTRL [static, private] |
Definition at line 97 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_DELETE = SWT.DEL [static, private] |
Definition at line 113 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_DOWN = SWT.ARROW_DOWN [static, private] |
Definition at line 105 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_ENTER = SWT.CR [static, private] |
Definition at line 108 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_ENTER_ALT = SWT.CR | SWT.ALT [static, private] |
Definition at line 109 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_ENTER_CTRL = SWT.CR | SWT.CTRL [static, private] |
Definition at line 110 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_ENTER_SHIFT = SWT.CR | SWT.SHIFT [static, private] |
Definition at line 111 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_LEFT = SWT.ARROW_LEFT [static, private] |
Definition at line 106 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_RIGHT = SWT.ARROW_RIGHT [static, private] |
Definition at line 107 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_SHIFT = SWT.SHIFT [static, private] |
Definition at line 95 of file GrxJythonPromptView.java.
final int com.generalrobotix.ui.view.GrxJythonPromptView.KS_UP = SWT.ARROW_UP [static, private] |
Definition at line 104 of file GrxJythonPromptView.java.
Definition at line 83 of file GrxJythonPromptView.java.
String com.generalrobotix.ui.view.GrxJythonPromptView.message_ [private] |
Definition at line 92 of file GrxJythonPromptView.java.
Composite com.generalrobotix.ui.view.GrxJythonPromptView.parent_ [private] |
Reimplemented from com.generalrobotix.ui.GrxBaseView.
Definition at line 81 of file GrxJythonPromptView.java.
String com.generalrobotix.ui.view.GrxJythonPromptView.prompt_ = ">>> " [private] |
Definition at line 79 of file GrxJythonPromptView.java.
Object com.generalrobotix.ui.view.GrxJythonPromptView.result_ [private] |
Definition at line 93 of file GrxJythonPromptView.java.
Definition at line 115 of file GrxJythonPromptView.java.
Definition at line 116 of file GrxJythonPromptView.java.
Definition at line 117 of file GrxJythonPromptView.java.
StyledText com.generalrobotix.ui.view.GrxJythonPromptView.styledText_ [private] |
Definition at line 82 of file GrxJythonPromptView.java.
Thread com.generalrobotix.ui.view.GrxJythonPromptView.thread_1_ [private] |
Definition at line 77 of file GrxJythonPromptView.java.
Thread com.generalrobotix.ui.view.GrxJythonPromptView.thread_2_ [private] |
Definition at line 78 of file GrxJythonPromptView.java.
Writer com.generalrobotix.ui.view.GrxJythonPromptView.writer_ [private] |
Definition at line 90 of file GrxJythonPromptView.java.