Public Member Functions | |
void | createPartControl (Composite parent) |
void | execJoystick () |
Joystick コンポーネントの立ち上げ | |
joystickView () | |
void | setFocus () |
Static Public Member Functions | |
static Point | getJoystickPosition () |
Private Attributes | |
Canvas | canvas |
boolean | mouseDrag = false |
Region | region |
Static Private Attributes | |
static Point | PC = pj |
static Point | pj = new Point(0,0) |
This sample class demonstrates how to plug-in a new workbench view. The view shows data obtained from the model. The sample creates a dummy model on the fly, but a real implementation would connect to the model available either in this or another plug-in (e.g. the workspace). The view is connected to the model using a content provider.
The view uses a label provider to define how model objects should be presented in the view. Each view can present the same model objects using different labels and icons, if needed. Alternatively, a single label provider can be shared between views in order to ensure that objects of the same type are presented in the same way everywhere.
Definition at line 34 of file joystickView.java.
Definition at line 41 of file joystickView.java.
void jp.go.aist.hrp.joystick.views.joystickView.createPartControl | ( | Composite | parent | ) | [inline] |
Definition at line 87 of file joystickView.java.
Joystick コンポーネントの立ち上げ
Definition at line 49 of file joystickView.java.
static Point jp.go.aist.hrp.joystick.views.joystickView.getJoystickPosition | ( | ) | [inline, static] |
Definition at line 81 of file joystickView.java.
void jp.go.aist.hrp.joystick.views.joystickView.setFocus | ( | ) | [inline] |
Definition at line 189 of file joystickView.java.
Canvas jp.go.aist.hrp.joystick.views.joystickView.canvas [private] |
Definition at line 35 of file joystickView.java.
boolean jp.go.aist.hrp.joystick.views.joystickView.mouseDrag = false [private] |
Definition at line 38 of file joystickView.java.
Point jp.go.aist.hrp.joystick.views.joystickView.PC = pj [static, private] |
Definition at line 37 of file joystickView.java.
Point jp.go.aist.hrp.joystick.views.joystickView.pj = new Point(0,0) [static, private] |
Definition at line 36 of file joystickView.java.
Region jp.go.aist.hrp.joystick.views.joystickView.region [private] |
Definition at line 39 of file joystickView.java.