I have to modify CMFSetup's type information import/export
Currently, to discriminate on ti types on export, it does:
if isinstance( ti, FactoryTypeInformation ):
elif isinstance( ti, ScriptableTypeInformation ):
Because I have other TypeInformation classes, with different
properties, I'll have to use some kind of registry. Anyone has
special needs here, before I commit an implementation? I think I'll
do a registry that discriminates on ti.meta_type.
Note that my ti class is a subclass of FactoryTypeInformation, so the
isinstance test above is not enough in any case.
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests