* <p>
*/
public void display() {
UserWindow.open(this);
Array_Of_MyDisplayNode<MyDisplayNode> list = new Array_Of_MyDisplayNode<MyDisplayNode>();
list.add(new MyDisplayNode(18, "Mary"));
list.add(new MyDisplayNode(21, "Jo"));
list.add(new MyDisplayNode(23, "Beth"));
list.add(new MyDisplayNode(22, "Dani"));
this.getqq_aListView().setViewNodes((Array_Of_DisplayNode)list);
// ----------
// Event Loop
// ----------
EventManager.startEventLoop();
try {
EventRegistration ListView_DoubleClick_getqq_aListView = ClientEventManager.register( this.getqq_aListView(), "DoubleClick" );
EventRegistration PushButton_Click_getqq_CancelBtn = ClientEventManager.register( this.getqq_CancelBtn(), "Click" );
EventRegistration PushButton_Click_getqq_OkBtn = ClientEventManager.register( this.getqq_OkBtn(), "Click" );
EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
while (true) {
UIutils.processGUIActions();
EventHandle qq_currentEvent = EventManager.waitForEvent();
if (qq_currentEvent == null)
break;
// ----------------------------
// self.<aListView>.DoubleClick
// ----------------------------
if (qq_currentEvent.isEvent(ListView_DoubleClick_getqq_aListView)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (TreeFieldCurrentNode.get(this.getqq_aListView()) != null) {
MyDisplayNode node = (MyDisplayNode)TreeFieldCurrentNode.get(this.getqq_aListView());
new ShowNode().display(node);
}
// ================ End Forte Event Handler Translation ================
}