[topia] branch feature/3484 updated (fdab302 -> 24fba6c)
This is an automated email from the git hooks/post-receive script. New change to branch feature/3484 in repository topia. See http://git.nuiton.org/topia.git from fdab302 refs #3484 ListenableBean now has understandable names new 24fba6c refs #3484 update migration guide The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 24fba6cfa80948de9ec42d674790101061a17673 Author: Arnaud Thimel <thimel@codelutin.com> Date: Thu Sep 4 17:55:16 2014 +0200 refs #3484 update migration guide Summary of changes: src/site/rst/tutos/migrate_to_3.0.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/3484 in repository topia. See http://git.nuiton.org/topia.git commit 24fba6cfa80948de9ec42d674790101061a17673 Author: Arnaud Thimel <thimel@codelutin.com> Date: Thu Sep 4 17:55:16 2014 +0200 refs #3484 update migration guide --- src/site/rst/tutos/migrate_to_3.0.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/site/rst/tutos/migrate_to_3.0.rst b/src/site/rst/tutos/migrate_to_3.0.rst index 4183f44..6ff1a6b 100644 --- a/src/site/rst/tutos/migrate_to_3.0.rst +++ b/src/site/rst/tutos/migrate_to_3.0.rst @@ -90,12 +90,24 @@ pas de changement. En revanche si vous utilisiez ces méthodes sur TopiaEntity, // Topia 3 TopiaEntity anEntity = ...; if (anEntity instanceof ListenableEntity) { - ((ListenableEntity)anEntity).addPropertyChangeListener(listener); + ((ListenableEntity)anEntity).addPostWriteListener(listener); } D'une manière générale, si toutes vos entités sont des ListenableEntity, nous vous encourageons à utiliser ce contrat à la place de TopiaEntity. +Ces méthodes ont également été renommées, voici les correspondances : + +:: + + addVetoableListener -> addPreReadListener + removeVetoableListener -> removePreReadListener + addPropertyListener -> addPostReadListener + removePropertyListener -> removePostReadListener + addVetoableChangeListener -> addPreWriteListener + removeVetoableChangeListener -> removePreWriteListener + addPropertyChangeListener -> addPostWriteListener + removePropertyChangeListener -> removePostWriteListener Refonte des indexed/ordered =========================== -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm