[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/xml PersistenceManager.java,1.2,1.3
Status: Pre-Alpha
Brought to you by:
henryml
From: Jesper P. <je...@us...> - 2005-07-28 10:16:49
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13194 Modified Files: PersistenceManager.java Log Message: Facades now genrates CREATED, MODIFIED and DELETED Index: PersistenceManager.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/xml/PersistenceManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PersistenceManager.java 28 Jul 2005 06:49:28 -0000 1.2 --- PersistenceManager.java 28 Jul 2005 10:16:37 -0000 1.3 *************** *** 7,13 **** package net.sourceforge.bprocessor.model.xml; - import net.sourceforge.bprocessor.kernel.notification.Notification; - import net.sourceforge.bprocessor.kernel.notification.Notifier; - import net.sourceforge.bprocessor.model.ConstructionSpace; import net.sourceforge.bprocessor.model.ConstructionSpaceFacade; --- 7,10 ---- *************** *** 158,164 **** csm = ConstructionSpaceFacade.getInstance().create(csm); - - Notification n = new Notification(Notification.CONSTRUCTION_SPACE_CREATED, csm.getId()); - Notifier.getInstance().sendNotification(n); } } --- 155,158 ---- *************** *** 178,184 **** fsm = FunctionalSpaceFacade.getInstance().create(fsm); - - Notification n = new Notification(Notification.FUNCTIONAL_SPACE_CREATED, fsm.getId()); - Notifier.getInstance().sendNotification(n); } } --- 172,175 ---- *************** *** 200,206 **** em = ElementFacade.getInstance().create(em); - - Notification n = new Notification(Notification.ELEMENT_CREATED, em.getId()); - Notifier.getInstance().sendNotification(n); } } --- 191,194 ---- *************** *** 222,228 **** pm = PartFacade.getInstance().create(pm); - - Notification n = new Notification(Notification.PART_CREATED, pm.getId()); - Notifier.getInstance().sendNotification(n); } } --- 210,213 ---- *************** *** 246,252 **** sm = SurfaceFacade.getInstance().create(sm); - - Notification n = new Notification(Notification.SURFACE_CREATED, sm.getId()); - Notifier.getInstance().sendNotification(n); } } --- 231,234 ---- *************** *** 268,274 **** em = EdgeFacade.getInstance().create(em); - - Notification n = new Notification(Notification.EDGE_CREATED, em.getId()); - Notifier.getInstance().sendNotification(n); } } --- 250,253 ---- *************** *** 295,301 **** vm = VertexFacade.getInstance().create(vm); - - Notification n = new Notification(Notification.VERTEX_CREATED, vm.getId()); - Notifier.getInstance().sendNotification(n); } } --- 274,277 ---- |