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