EventRegistration MenuCommand_Activate_getqq_work = ClientEventManager.register( this.getqq_work(), "Activate" );
while (true) {
UIutils.processGUIActions();
EventHandle qq_currentEvent = EventManager.waitForEvent();
if (qq_currentEvent == null)
break;
// -------------
// task.Shutdown
// -------------
if (qq_currentEvent.isEvent(TaskHandle_Shutdown_langThreadcurrentThread)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
break;
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------
// <aField>.click
// --------------
else if (qq_currentEvent.isEvent(DataField_Click_getqq_aField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Task.delay(5000);
Logger.getLogger("task.part.logmgr").info("Single click");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------
// <aField>.doubleclick
// --------------------
else if (qq_currentEvent.isEvent(DataField_DoubleClick_getqq_aField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Task.delay(5000);
Logger.getLogger("task.part.logmgr").info("Double click");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------
// <aField>.BeforeFocusLoss
// ------------------------
else if (qq_currentEvent.isEvent(DataField_BeforeFocusLoss_getqq_aField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Task.delay(5000);
Logger.getLogger("task.part.logmgr").info("BeForeFocusLoss");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------
// <aField>.AfterFocusGain
// -----------------------
else if (qq_currentEvent.isEvent(DataField_AfterFocusGain_getqq_aField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Task.delay(5000);
Logger.getLogger("task.part.logmgr").info("AfterFocusGain");
TheService_proxy.getInstance().tenSeconds();
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------
// <work>.Activate
// ---------------
else if (qq_currentEvent.isEvent(MenuCommand_Activate_getqq_work)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("Activate");
TheService_proxy.getInstance().thirtySeconds();