Example #1
0
 def __init__(self, uuidx, name, printer=printers.Default):
     if type(uuidx) == type("hello"):
         self.uuid = uuid_to_list(uuidx)
     else:
         self.uuid = uuidx
     self.name = name
     self.printer = printer()
     self.suuid = printers.print_uuid(self.uuid)
Example #2
0
 def __init__(self, uuidx, name, printer=printers.Default):
   if type(uuidx) == type("hello"):
     self.uuid = uuid_to_list(uuidx)
   else:
     self.uuid = uuidx
   self.name = name
   self.printer = printer()
   self.suuid = printers.print_uuid(self.uuid)
Example #3
0
 def editor_by_uuid(self, uuid):
   return self.attr[print_uuid(uuid)].editor()
Example #4
0
 def name_by_uuid(self, uuid):
   return self.attr[print_uuid(uuid)].name
Example #5
0
 def string_to_value_by_uuid(self, uuid, s):
   return self.attr[print_uuid(uuid)].string_to_value(s)
Example #6
0
 def value_to_string_by_uuid(self, uuid, value):
   return self.attr[print_uuid(uuid)].value_to_string(value)