Open GoogleCodeExporter opened 9 years ago
If you look through some of the discussion sections, I do believe this is in the
works. From what I can tell, instead of working with the @Data annotation,
there
will be a @Property annotation instead.
Original comment by warchild...@gmail.com
on 16 Aug 2009 at 6:22
Correct, it's in the works, there are a few discussion threads in the
newsgroups about how to get this right, and
it won't be on Data, it'll be a separate annotation most likely called
@Property.
Original comment by reini...@gmail.com
on 18 Aug 2009 at 12:07
Perfect..just a reminder that whatever solution you come up with, it *must*
allow
overriding which type of PropertyChangeSupport class is used. In Swing apps the
SwingPropertyChangeSupport is necessary, otherwise EDT violations will occur:
http://java.sun.com/javase/6/docs/api/javax/swing/event/SwingPropertyChangeSuppo
rt.html
Original comment by jace...@gmail.com
on 18 Aug 2009 at 4:12
Don't forget vetoable properties, as per the JavaBeans spec.
(BeanInfo generation via annotations, e.g. for icons, editors etc would be nice
too!)
Original comment by psc...@gmail.com
on 8 Dec 2009 at 11:28
Issue 107 has been merged into this issue.
Original comment by reini...@gmail.com
on 25 Jul 2010 at 12:24
Quick and dirty hack: http://code.google.com/p/lomprop/ - use the @BindableData
annotation - generates proper getters and setters, methods:
addPropertyChangeListener, removePropertyChangeListener; and an initialized
field $propertyChangeSupport. Resulting bean is bindable using JSR-295 (tested
in NetBeans).
Original comment by Greg.Matoga@gmail.com
on 26 Jul 2010 at 5:54
Original issue reported on code.google.com by
jace...@gmail.com
on 12 Aug 2009 at 2:33