Exemple #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
Exemple #2
0
 def __init__(self, *args, **kw):
     OverrideMixin.__init__(self)
     NodeDecorator.__init__(self)
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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