| [news.eclipse.platform] Re: Eclipse 3.3 - How to generate PropertyChangeListener properties |
That's an ideal case for using AOP (AspectOrientProgramming).
Tom
Hi Guys, I'm currently looking at the data binding API in Eclipse 3.3. Does anyone have any suggestions on how to generate the PropertyChangeListener logic for a POJO? I.E. I have a bean 'Person' with two properties, 'Name' and 'Surname' I want to generate the getters and setters, but I want to have the firePropertyChange() logic added to the setters. I don't want to code the logic myself..
Anybody got any ideas?