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