2 May
2002
2 May
'02
9:07 p.m.
it would be very useful to apply this to existing folders which are specialized in purpose, but require no special class of their own.
[Dieter] To apply it to existing folder, you need to redefine their "all_meta_types" method - in a similar spirit the "mxmObjectManager" did... How do I redefine a method (as opposed to setting a property) on an existing object? I don't want to subclass Folder into a full metatype for each combination of metatypes allowed, but I could see making a series of def methods: scripts or a product module that I could 'attach' as overrides to instances of regular, already created Folders as needed. Is that possible?