[Modeling-cvs] ProjectModeling/Modeling TODO,1.14,1.15
Status: Abandoned
Brought to you by:
sbigaret
|
From: <sbi...@us...> - 2003-07-24 12:12:35
|
Update of /cvsroot/modeling/ProjectModeling/Modeling
In directory sc8-pr-cvs1:/tmp/cvs-serv30526
Modified Files:
TODO
Log Message:
Updated
Index: TODO
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/TODO,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** TODO 18 Jul 2003 14:30:45 -0000 1.14
--- TODO 24 Jul 2003 12:12:33 -0000 1.15
***************
*** 89,93 ****
- These classes are the oldest of the framework ; their implementation began
! w/ the first version of the framework (never release, and so was the
second refactor of the framework). They are in general poorly documented
and some of their code is not very readable ; all this needs to be
--- 89,93 ----
- These classes are the oldest of the framework ; their implementation began
! w/ the first version of the framework (never released, and so was the
second refactor of the framework). They are in general poorly documented
and some of their code is not very readable ; all this needs to be
***************
*** 103,108 ****
manipulation of a model)
! After the support for Pymodels are released, the refactoring might be more
easily done.
- Attribute: accepts both 'string' and 'str' for internalType(). This is
--- 103,116 ----
manipulation of a model)
! After the support for PyModels are released, the refactoring might be more
easily done.
+
+ Related to this: Attribute.setType() has a 'check=1' default argument
+ which converts the Attribute.defaultValue into the right type. This is
+ "necessary" for the ZModeler and loading an xmlmodel as well; however,
+ this interacts badly with the PyModel themselves (see the test k=='type'
+ at the end of PyModel.updateComponent()). This should be rmeoved, and
+ explictely called when needed (i.e. in the ZModeler and when loading xml),
+ rather than maintaining that side-effect.
- Attribute: accepts both 'string' and 'str' for internalType(). This is
|