Re: [Zope3-Users] Re: Get classes implementing Interface

2006-02-06 Thread Stephan Richter
On Sunday 08 January 2006 10:01, Florian Lindner wrote: I do it this way now:             utils =  getUtilitiesFor(IFactory)             self.objects = {}             for i in utils:                 if IContainer in i[1].getInterfaces(): the UtilityVocabulary gives the same result as

Re: [Zope3-Users] Re: Get classes implementing Interface

2006-02-06 Thread Florian Lindner
Am Montag, 6. Februar 2006 12:19 schrieb Stephan Richter: On Sunday 08 January 2006 10:01, Florian Lindner wrote: I do it this way now:             utils =  getUtilitiesFor(IFactory)             self.objects = {}             for i in utils:                 if IContainer in

Re: [Zope3-Users] Re: Get classes implementing Interface

2006-01-08 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 13:30 schrieb Philipp von Weitershausen: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked a version of the

Re: [Zope3-dev] Re: [Zope3-Users] Re: Get classes implementing Interface

2006-01-04 Thread Florian Lindner
Am Samstag, 31. Dezember 2005 14:48 schrieb Florian Lindner: Am Freitag, 30. Dezember 2005 20:57 schrieb Jeff Shell: On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: So, what you want is

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-31 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 20:57 schrieb Jeff Shell: On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: So, what you want is not a list of classes but a list of factories that can create

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-31 Thread Florian Lindner
Does anyone got this mail? I've not received a copy from the mailinglists neither it shows up in the archives... Am Freitag, 30. Dezember 2005 20:57 schrieb Jeff Shell: On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 10:20 schrieb Philipp von Weitershausen: Florian Lindner wrote: Am Mittwoch, 28. Dezember 2005 14:48 schrieb Jim Fulton: Florian Lindner wrote: Hello, how can I get all classes that implement a specific interface? What interface do I need to search for, when I

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Philipp von Weitershausen
Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked a version of the HomefolderManager and just changed in the code. But I would like to have

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jim Fulton
Philipp von Weitershausen wrote: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked a version of the HomefolderManager and just changed in the

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Florian Lindner
Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically. Right now I have forked

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jeff Shell
On 12/30/05, Florian Lindner [EMAIL PROTECTED] wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: So, what you want is not a list of classes but a list of factories that can create IContainers. This is possible by using

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jeff Shell
Oops. It didn't seem to provide the code. Ahhh, GMail. Not even you can convince me that web based mail is going to replace real clients... And if there are multiple copies of this message, I apologize. from zope.interface import Interface, implements from zope.app import zapi from zope.event

Re: [Zope3-Users] Re: Get classes implementing Interface

2005-12-30 Thread Jim Fulton
Florian Lindner wrote: Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton: Philipp von Weitershausen wrote: Florian Lindner wrote: my first use case is that I want to enhance the HomefolderManager to make it possible to select something else than a Folder to be created automatically.