示例#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)