[java-gnome-hackers] Annotation-based glade parsing patch
Brought to you by:
afcowie
From: Vreixo F. L. <met...@ya...> - 2008-03-26 18:51:22
|
Hi! I send you a little experiment I've developed these days. It adds annotation-based support for parsing glade files. WIth this patch, using a glade file with java-gnome is as easy as: @File("path/to/glade/file") public class MyAppGui extends UI { @Widget("window1") private Window window; @Widget("button1") private Button okButton; @Widget("button2") private Button cancelButton; .... } It needs more work, but I think it is already in a usable state. Please take a look at it and write here your comments. Andrew: I propose you to merge it to mainline. Cheers, Vreixo Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |