Changeset 93
- Timestamp:
- 04/10/02 22:16:54 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBFoundation/RBFoundation/XMLClassBuilder.py
r66 r93 45 45 seperator = '.' 46 46 Build = XMLBuilder.XMLBuilder.Parse 47 BuildFile = XMLBuilder.XMLBuilder.ParseFile 47 48 48 49 def _GetModuleClass(self, namespace, node): 49 return namespace, node50 return ('%s.%s' % (namespace, node), node) 50 51 51 52 def _GetElementFactory(self, owner, parent, namespace, node, attributes): trunk/RBJabber/RBJabber/SubjectObserver/CategorySubject.py
r71 r93 42 42 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 43 44 class CategorySubject (Subject):44 class CategorySubjectBaseMixin(object): 45 45 def __init__(self): 46 super(CategorySubject , self).__init__()46 super(CategorySubjectBaseMixin, self).__init__() 47 47 self._observers = {} 48 48 … … 77 77 Observers = property(_AllObserversList) 78 78 79 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 81 class CategorySubjectMixin(CategorySubjectBaseMixin): 79 82 def UpdateObserversEx(self, kw): 80 83 self._cachedUpdates.update(kw) … … 90 93 else: return 0 91 94 95 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 97 class CategorySubject(CategorySubjectMixin, Subject): 98 pass trunk/RBJabber/RBJabber/SubjectObserver/__init__.py
r66 r93 43 43 import BidableSubject 44 44 45 class AttributedCategorySubject(AttributedSubject.AttributedSubjectMixin, CategorySubject.CategorySubject ):45 class AttributedCategorySubject(AttributedSubject.AttributedSubjectMixin, CategorySubject.CategorySubjectMixin, Subject.Subject): 46 46 pass 47 47 class AttributedBidableSubject(AttributedSubject.AttributedSubjectMixin, BidableSubject.BidableSubjectMixin, Subject.Subject): 48 48 pass 49 class AttributedBidableCategorySubject(AttributedSubject.AttributedSubjectMixin, BidableSubject.BidableSubjectMixin, CategorySubject.CategorySubject ):49 class AttributedBidableCategorySubject(AttributedSubject.AttributedSubjectMixin, BidableSubject.BidableSubjectMixin, CategorySubject.CategorySubjectMixin, Subject.Subject): 50 50 pass 51 51 52 class BidableCategorySubject(BidableSubject.BidableSubjectMixin, CategorySubject.CategorySubject ):52 class BidableCategorySubject(BidableSubject.BidableSubjectMixin, CategorySubject.CategorySubjectMixin, Subject.Subject): 53 53 pass 54 54 class BidableAttributedSubject(AttributedSubject.AttributedSubjectMixin, BidableSubject.BidableSubjectMixin, Subject.Subject): 55 55 pass 56 class BidableAttributedCategorySubject(AttributedSubject.AttributedSubjectMixin, BidableSubject.BidableSubjectMixin, CategorySubject.CategorySubject ):56 class BidableAttributedCategorySubject(AttributedSubject.AttributedSubjectMixin, BidableSubject.BidableSubjectMixin, CategorySubject.CategorySubjectMixin, Subject.Subject): 57 57 pass 58 58
