예제 #1
0
파일: acl.py 프로젝트: maximerobin/Ufwi
    def formatToolTip(self, items):
        if not items:
            return ''

        items = getIdentifiers(items)
        if 1 < len(items):
            return '{%s}' % ', '.join(items)
        else:
            return items[0]
예제 #2
0
 def getFromLibrary(self, library):
     return getIdentifiers( obj for obj in self.objects if obj.library == library )
예제 #3
0
 def getAll(self):
     return getIdentifiers(self.objects)