Exemplo n.º 1
0
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     for attr_name, conv, def_val in self.ATTR_NAMES:
         self.get_attribute(attr_name, cd, conv)
     return cd
Exemplo n.º 2
0
 def __init__(self, *args, **kw):
     OverrideMixin.__init__(self)
     NodeDecorator.__init__(self)
Exemplo n.º 3
0
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     for attr_name,conv,def_val in self.ATTR_NAMES:
         self.get_attribute(attr_name, cd, conv)
     return cd
Exemplo n.º 4
0
 def configure(self, cd):
     NodeDecorator.configure(self, cd)
     for attr_name, conv, def_val in self.ATTR_NAMES:
         self.set_attribute(attr_name, def_val, cd, conv)
     return
Exemplo n.º 5
0
 def configure(self, cd):
     NodeDecorator.configure(self, cd)
     for attr_name,conv,def_val in self.ATTR_NAMES:
         self.set_attribute(attr_name, def_val, cd, conv)
     return
Exemplo n.º 6
0
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     self.get_attribute('mmafmt_channel_id', cd, str)
     self.get_attribute('mmafmt_channel_label', cd, str)
     self.get_attribute('mmafmt_channel_pos', cd, str)
     return cd
Exemplo n.º 7
0
 def configure(self, cd):
     NodeDecorator.configure(self, cd)
     self.set_attribute('mmafmt_channel_id', self.REQUIRED, cd, str)
     self.set_attribute('mmafmt_channel_label', self.REQUIRED, cd, str)
     self.set_attribute('mmafmt_channel_pos', '', cd, stripped_str)
     return
Exemplo n.º 8
0
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     self.get_attribute('mmafmt_channel_id', cd, str)
     self.get_attribute('mmafmt_channel_label', cd, str)
     self.get_attribute('mmafmt_channel_pos', cd, str)
     return cd
Exemplo n.º 9
0
 def configure(self, cd):
     NodeDecorator.configure(self, cd)
     self.set_attribute('mmafmt_channel_id', self.REQUIRED, cd, str)
     self.set_attribute('mmafmt_channel_label', self.REQUIRED, cd, str)
     self.set_attribute('mmafmt_channel_pos', '', cd, stripped_str)
     return