[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yuppie wrote: > Anahide Tchertchian wrote: > >> yuppie wrote: - get rid of DCWorkflow specifics, and use the workflow factory and API methods to import a workflow (no need to import DCWorkflowDefinition, State, Transition classes an

[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread yuppie
Hi! Anahide Tchertchian wrote: yuppie wrote: - turn import methods in CMFSetup/workflow.py into configurator class methods so that they're easier to override when subclassing (_extract*Nodes and _initDCWorkflow* methods) Sounds fine if you don't want to do the big refactoring. Yes I'd lik

[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread Anahide Tchertchian
Hi, yuppie wrote: Please note that all other tool handlers use utils.*ConfiguratorBase. I didn't convert workflow.py because it is the biggest handler and it works for me as it is. But it uses deprecated patterns, so if you plan to improve it it might be worth to refactor it using *Configurato

Re: [Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread Florent Guillaume
yuppie <[EMAIL PROTECTED]> wrote: > Anahide Tchertchian wrote: > > I'd like to make 3 main changes to the way CMFSetup handles workflow > > export/import: > > Please note that all other tool handlers use utils.*ConfiguratorBase. I > didn't convert workflow.py because it is the biggest handler an

[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread yuppie
Encolpe Degoute wrote: That's seems a good idea, but I don"t where worklists will be import in few weeks. That sounds like you're working on a big worklists refactoring. If that's the case, sending a small proposal to the list would be nice. Cheers, Yuppie __

[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread yuppie
Hi Anahide! Anahide Tchertchian wrote: I'd like to make 3 main changes to the way CMFSetup handles workflow export/import: Please note that all other tool handlers use utils.*ConfiguratorBase. I didn't convert workflow.py because it is the biggest handler and it works for me as it is. But i