[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Attribute.java, 1.19, 1.20 Surface.j
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-05-08 12:35:40
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16189/src/net/sourceforge/bprocessor/model Modified Files: Attribute.java Surface.java Parametric.java Project.java Log Message: removed extra update calls in classes extending both parametic and Entity since the gui call change on these elements, there need to be added a checkpoint somewhere. Index: Attribute.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Attribute.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** Attribute.java 16 Apr 2007 15:55:22 -0000 1.19 --- Attribute.java 8 May 2007 12:35:38 -0000 1.20 *************** *** 198,202 **** current.update(); } - Project.getInstance().changed(this); } --- 198,201 ---- Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.158 retrieving revision 1.159 diff -C2 -d -r1.158 -r1.159 *** Surface.java 7 May 2007 15:43:58 -0000 1.158 --- Surface.java 8 May 2007 12:35:38 -0000 1.159 *************** *** 1737,1741 **** } } - changed(); } --- 1737,1740 ---- Index: Parametric.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Parametric.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Parametric.java 14 Apr 2007 15:00:47 -0000 1.4 --- Parametric.java 8 May 2007 12:35:38 -0000 1.5 *************** *** 16,19 **** --- 16,21 ---- /** * Set the attributes of the object to the values in the list + * DO NOT CALL CHANGE ON ITSELF THE GUI DOES THAT + * @see {net.sourceforge.bprocessor.GUI.attrview.GenericPanel} * @param attributes The attributes to set */ Index: Project.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Project.java,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** Project.java 8 May 2007 11:08:11 -0000 1.122 --- Project.java 8 May 2007 12:35:38 -0000 1.123 *************** *** 282,285 **** --- 282,286 ---- */ public void changed(Object entity) { + log.debug("-------Changed(" + entity + ")----------"); // FIXME: temporary hack. There should be better handling of the observers List allObservers = new LinkedList(observers); *************** *** 619,622 **** --- 620,624 ---- } currentState = Persistence.externalize(); + log.debug("--------CheckPoint--------"); } |