Public Member Functions | |
HoopsSwtCanvas (final Composite parent, final int style) | |
Constructor which sets the value of initDone variable to false. | |
void | dispose () |
HBaseModel | getModel () |
HBaseView | getView () |
void | init () |
Initializes the HBaseView object and the m_HView key. More... | |
int | mapFlags (final MouseEvent e) |
Maps the GUI-specific mouse/key state flags to HOOPS/MVO abstracted flags. More... | |
int | mapKeyFlags (final KeyEvent e) |
Maps the GUI-specific key state flags to HOOPS/MVO abstracted flags. More... | |
void | SetCurrentOperator (HBaseOperator new_operator) |
Deletes the current operator associated with the HBaseView object (if any) and resets the HBaseView's current operator to the new one. More... | |
Protected Member Functions | |
HBaseModel | createDefaultModel () |
Factory method for the default HOOPS/MVO model. More... | |
HBaseView | createView (final HBaseModel model) |
Factory method for the HOOPS/MVO m_HView on the given model. More... | |
Protected Attributes | |
final HBaseModel | m_HModel |
HBaseView | m_HView |
A reference to the HBaseView object associated with the canvas. | |
HSelectionSet | m_HSelectionSet |
Object | m_HOperator |
|
protected |
Factory method for the default HOOPS/MVO model.
The model has to be initialized.
Referenced by com.techsoft.hoops.HoopsSwtCanvas.HoopsSwtCanvas().
|
protected |
Factory method for the HOOPS/MVO m_HView on the given model.
The m_HView has to be initialized.
References HJ.Close_Segment(), HJ.Open_Segment_By_Key(), HJ.Set_Color(), HJ.Set_Color_By_Index(), HJ.Set_Marker_Symbol(), HJ.Set_Rendering_Options(), HJ.Set_Selectability(), HJ.Set_Text_Font(), HJ.Set_Visibility(), and com.techsoft.hoops.HoopsSwtCanvas.m_HView.
Referenced by com.techsoft.hoops.HoopsSwtCanvas.HoopsSwtCanvas().
HBaseView com.techsoft.hoops.HoopsSwtCanvas.getView | ( | ) |
References com.techsoft.hoops.HoopsSwtCanvas.m_HView.
void com.techsoft.hoops.HoopsSwtCanvas.init | ( | ) |
Initializes the HBaseView object and the m_HView key.
When overridden, the inherited method must be called.
Should not be called directly.
References HJ.Close_Segment(), HJ.Open_Segment_By_Key(), and HJ.Set_Driver_Options().
Referenced by com.techsoft.hoops.HoopsSwtCanvas.HoopsSwtCanvas().
int com.techsoft.hoops.HoopsSwtCanvas.mapFlags | ( | final MouseEvent | e | ) |
Maps the GUI-specific mouse/key state flags to HOOPS/MVO abstracted flags.
e | Provides data for the org.eclipse.swt.events.MouseEvent event |
int com.techsoft.hoops.HoopsSwtCanvas.mapKeyFlags | ( | final KeyEvent | e | ) |
Maps the GUI-specific key state flags to HOOPS/MVO abstracted flags.
e | Provides data for the org.eclipse.swt.events.KeyEvent event |
void com.techsoft.hoops.HoopsSwtCanvas.SetCurrentOperator | ( | HBaseOperator | new_operator | ) |
Deletes the current operator associated with the HBaseView object (if any) and resets the HBaseView's current operator to the new one.
new_operator | A reference to an HBaseOperator object to be used as the new operator |