[ http://jira.codehaus.org/browse/MNG-3?page=comments#action_48260 ]
Arik Kfir commented on MNG-3: ----------------------------- Hi, Why not have the Modello project support generating PropertyChangeEvents in generated classes? Since both the project-model and the settings-model (and a few others I presume?) are generated by Modello, this would allow anyone embedding M2 to listen to changes on them. A different approach would be to create a custom model deserializer (like SettingsXpp3Reader) which generate subclasses that do support PropertyChangeEvents. I tried that, but most methods in it cannot be overriden (private..). I believe the first approach is better though. > MavenProject / pom listener > --------------------------- > > Key: MNG-3 > URL: http://jira.codehaus.org/browse/MNG-3 > Project: Maven 2 > Type: Improvement > Components: maven-embedder, maven-project > Reporter: gilles dodinet > > > ide integration needs a listener mechanism so that when project/model is > changed interested parties are notified and can eventually reflect those > changes (f.i. refresh a view). we've implemented that in mevenide, please see > : > http://cvs.mevenide.codehaus.org/cvsweb.cgi/mevenide-core/src/java/org/mevenide/project/ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
