Community
Participate
Working Groups
Build Identifier: lastest from CVS Would be nice to use exact type of widget, because this method is searched using reflection. So, code like this would work. protected void clickButton(Button button, Event event) { //Button button = (Button) event.widget; button.setText("Hello, world!"); } Reproducible: Always
Created attachment 167474 [details] Patch with better search
Created attachment 167601 [details] Patch with better search This patch also includes check for IXWTLoader.DESIGN_MODE_ROPERTY to prevent applying events at design time. I need this because when I add new event handler at design time we update both Java and XWT file, and Java file (with new method) is not compiled yet, so this causes error in log. BTW, would be good to fix spelling of DESIGN_MODE_ROPERTY constant.
Committed for 1.0 M6