EventRegistration PushButton_Click_getqq_aPushButton = ClientEventManager.register( this.getqq_aPushButton(), "Click" );
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();
}
}
// -----------------------------
// <aTreeView>.RequestFolderOpen
// -----------------------------
else if (qq_currentEvent.isEvent(TreeView_RequestFolderOpen_getqq_aTreeView)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode f = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("Folder")).getObject();
this.makeFileTree(f);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------------------
// <aOutlineField>.AfterCurrentNodeChange
// --------------------------------------
else if (qq_currentEvent.isEvent(OutlineField_AfterCurrentNodeChange_getqq_aOutlineField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int row = ((ParameterHolder)qq_currentEvent.getParameter("NewRowNumber")).getInt();
Logger.getLogger("task.part.logmgr").info( Integer.toString(row));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------------
// <aOutlineField>.RequestFolderOpen
// ---------------------------------
else if (qq_currentEvent.isEvent(OutlineField_RequestFolderOpen_getqq_aOutlineField)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode f = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("Folder")).getObject();
this.makeFileTree(f);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------------
// <theBra>.ChildAfterFirstKeyStroke
// ---------------------------------
else if (qq_currentEvent.isEvent(GridField_ChildAfterFirstKeystroke_getqq_theBra)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Child First keyStroke **");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------------------------
// <theBra.description>.AfterFirstKeyStroke
// ----------------------------------------
else if (qq_currentEvent.isEvent(TextField_AfterFirstKeystroke_getqq_theBra_description)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Description First keyStroke **");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------
// <theBra>.ChildAfterValueChange
// ------------------------------
else if (qq_currentEvent.isEvent(GridField_ChildAfterValueChange_getqq_theBra)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Child Value Change **");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------
// <save>.click
// ------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_save)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
BraShop_proxy.getInstance().putBra(this.getTheBra());
Object o = ObjectValue.get(this.getqq_theBra_Color());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------
// <Find>.click
// ------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_Find)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.setTheBra(BraShop_proxy.getInstance().getBra(new TextData(this.getTheBra().getName())));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------
// <One>.click
// -----------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_One)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.getTheBra().setStyle(3);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------------------
// <aTreeView>.AfterCurrentNodeChange
// ----------------------------------
else if (qq_currentEvent.isEvent(TreeView_AfterCurrentNodeChange_getqq_aTreeView)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("NewNode")).getObject();
// copyit : FileNode = (FileNode)(n.clone(true));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------------
// <aScrollListString>.aftervaluechange
// ------------------------------------
else if (qq_currentEvent.isEvent(ScrollList_AfterValueChange_getqq_aScrollListString)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
UIutils.processGUIActions();
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------
// <Hide>.click
// ------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_Hide)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.setUsage(Constants.WU_VIEW);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------------------
// <aRadioString>.AfterValueChange
// -------------------------------
else if (qq_currentEvent.isEvent(RadioList_AfterValueChange_getqq_aRadioString)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info(this.getARadioString());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------------
// <aRadioTextData>.AfterValueChange
// ---------------------------------
else if (qq_currentEvent.isEvent(RadioList_AfterValueChange_getqq_aRadioTextData)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info(this.getARadioTextData());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------------
// <aRadioInteger>.AfterValueChange
// --------------------------------
else if (qq_currentEvent.isEvent(RadioList_AfterValueChange_getqq_aRadioInteger)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info( Integer.toString(this.getARadioInteger()));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------------
// <aRadioIntegerData>.AfterValueChange
// ------------------------------------
else if (qq_currentEvent.isEvent(RadioList_AfterValueChange_getqq_aRadioIntegerData)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info(this.getARadioIntegerData());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------------------------
// <aScrollListInteger>.AfterValueChange
// -------------------------------------
else if (qq_currentEvent.isEvent(ScrollList_AfterValueChange_getqq_aScrollListInteger)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int ind = IndexValue.get(this.getqq_aScrollListInteger());
ListElement le = ElementList.extractByIndex(this.getqq_aScrollListInteger(), ind);
Logger.getLogger("task.part.logmgr").info(le.getTextValue());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------
// <Show>.click
// ------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_Show)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.setUsage(Constants.WU_UPDATE);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------------
// <theBra.Name>.afterfirstkeystroke
// ---------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterFirstKeystroke_getqq_theBra_Name)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.getTheBra().setDescription("");
this.getTheBra().setCost(0.0);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------
// <clearBtn>.click
// ----------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_clearBtn)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.getTheBra().setDescription("");
this.getTheBra().setCost(0.0);
this.getTheBra().setName("");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------
// Window.FunctionKeyPress
// -----------------------
else if (qq_currentEvent.isEvent(Window_FunctionKeyPress_this)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("pressed......");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------
// <someAction>.click
// ------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_someAction)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (WidgetState.get((JComponent)this.getqq_treePanel()) == Constants.FS_INVISIBLE) {
WidgetState.set((JComponent)this.getqq_treePanel(), Constants.FS_UPDATE);
}
else {
WidgetState.set((JComponent)this.getqq_treePanel(), Constants.FS_INVISIBLE);
}
UIutils.requestFinalize(this);;
this.setqq_aString(null);
this.setAIntegerNullable(new IntegerNullable());
this.getAIntegerNullable().setValue(989898);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------
// Window.AfterFinalize
// --------------------
else if (qq_currentEvent.isEvent(Window_AfterFinalize_this)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("After Finalize");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------
// <SetGet>.click
// --------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_SetGet)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
ElementList.set(this.getqq_aRadioIntegerData(), ElementList.get(this.getqq_aScrollListIntegerData()));
ElementList.set(this.getqq_aScrollListIntegerData(), ElementList.get(this.getqq_aDropListIntegerData()));
TextValue.set(this.getqq_aDropListIntegerData(), "One");
IntegerValue.set(this.getqq_aRadioIntegerData(), 3);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------
// <populate>.click
// ----------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_populate)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
this.populateMock();
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------
// <list>.afterrowentry
// --------------------
else if (qq_currentEvent.isEvent(ArrayField_AfterRowEntry_getqq_list)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("Row Entry");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------
// <list>.beforerowexit
// --------------------
else if (qq_currentEvent.isEvent(ArrayField_BeforeRowExit_getqq_list)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("Row Exit");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------
// <hidehook>.click
// ----------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_hidehook)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (WidgetState.get((JComponent)this.getqq_listArray_Sold()) == Constants.FS_INVISIBLE) {
WidgetState.set((JComponent)this.getqq_listArray_Sold(), Constants.FS_UPDATE);
WidgetState.set((JComponent)this.getqq_listArray_Style(), Constants.FS_UPDATE);
WidgetState.set((JComponent)this.getqq_listArray_Name(), Constants.FS_UPDATE);
}
else {
WidgetState.set((JComponent)this.getqq_listArray_Name(), Constants.FS_INVISIBLE);
WidgetState.set((JComponent)this.getqq_listArray_Style(), Constants.FS_INVISIBLE);
WidgetState.set((JComponent)this.getqq_listArray_Sold(), Constants.FS_INVISIBLE);
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------
// <list>.afterrowvaluechange
// --------------------------
else if (qq_currentEvent.isEvent(ArrayField_AfterRowValueChange_getqq_list)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int r = ((ParameterHolder)qq_currentEvent.getParameter("row")).getInt();
Logger.getLogger("task.part.logmgr").info("Row value change");
Logger.getLogger("task.part.logmgr").info( Integer.toString(r));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------
// <aDate>.AfterValueChange
// ------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDate)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getADate());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------------
// <aDateNullable>.AfterValueChange
// --------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDateNullable)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getADateNullable());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------------------
// <aDecimalData>.AfterValueChange
// -------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDecimalData)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getADecimalData());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------------
// <aDecimalNullable>.AfterValueChange
// -----------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDecimalNullable)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getADecimalNullable());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------
// <aDouble>.AfterValueChange
// --------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDouble)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info( Double.toString(this.getADouble()));
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------------
// <aDoubleData>.AfterValueChange
// ------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDoubleData)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getADoubleData());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------------------
// <aDoubleNullable>.AfterValueChange
// ----------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aDoubleNullable)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getADoubleNullable());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------------
// <aInteger>.AfterValueChange
// ---------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aInteger)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info( Integer.toString(this.getAInteger()));
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------------------
// <aIntegerData>.AfterValueChange
// -------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aIntegerData)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getAIntegerData());
if (this.getAIntegerData().getValue() > 4 || this.getAIntegerData().getValue() < 2) {
WindowManager.messageDialog(this, "Value nust be 2, 3 or 4", 1, 50);
UIutils.purgeEvents();
}
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------------------
// <aIntegerNullable>.AfterValueChange
// -----------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aIntegerNullable)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getAIntegerNullable());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------------
// <aPhone>.AfterValueChange
// -------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aPhone)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getAPhone());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------
// <aString>.AfterValueChange
// --------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aString)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getAString());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------------
// <aTextData>.AfterValueChange
// ----------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aTextData)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getATextData());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// --------------------------------
// <aTextNullable>.AfterValueChange
// --------------------------------
else if (qq_currentEvent.isEvent(DataField_AfterValueChange_getqq_aTextNullable)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Logger.getLogger("task.part.logmgr").info("** Value Change >>");
Logger.getLogger("task.part.logmgr").info(this.getATextNullable());
Logger.getLogger("task.part.logmgr").info("<<");
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------
// <fileNew>.activate
// ------------------
else if (qq_currentEvent.isEvent(MenuCommand_Activate_getqq_fileNew)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
WindowManager.messageDialog(this, "File New activated", 1, 50);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------
// <tableOne>.activate
// -------------------
else if (qq_currentEvent.isEvent(MenuCommand_Activate_getqq_tableOne)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
WindowManager.messageDialog(this, "table One Activated", 1, 50);
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------
// <aPushButton>.click
// -------------------
else if (qq_currentEvent.isEvent(PushButton_Click_getqq_aPushButton)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
JScrollBar sb = ScrollBarFactory.newScrollBar();
this.scroolBarEh(sb);