Go to the documentation of this file.
34 #include <wx/tipwin.h>
73 wxPoint position =
event.GetPosition();
76 long logicalX = dc.DeviceToLogicalX(position.x);
77 long logicalY = dc.DeviceToLogicalY(position.y);
84 if (part != NULL && part->
canHandle(&request)) {
92 if (event.LeftDClick()) {
94 if (part != NULL && part->
canHandle(&request)) {
102 if (event.LeftDown()) {
106 if (part != NULL && part->
canHandle(&statusRequest)) {
114 if (event.RightDown()) {
136 _T(
"Display Unit Info"));
142 _T(
"Display utilizations"));
EditPart * findEditPart(int x, int y)
void setStatusText(std::string status)
ComponentCommand * performRequest(Request *request) const
void setParentWindow(wxWindow *window)
@ DETAILS_REQUEST
Detailed info request.
@ COMMAND_TOGGLE_UNIT_INFO
void select(EditPart *part)
bool canHandle(Request *request) const
@ MODIFY_REQUEST
Modfify request.
@ STATUS_REQUEST
Status request.
@ COMMAND_TOGGLE_UTILIZATIONS