Example #1
0
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('interpolation data') +
                                         1:]
     return ParameterInterpolationData(name, descName, parent)
Example #2
0
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('interpolation data') + 1:]
     return ParameterInterpolationData(name, descName, parent)
Example #3
0
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('relief colors') + 1:]
     return ParameterReliefColors(name, descName, parent)
Example #4
0
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('relief colors') + 1:]
     return ParameterReliefColors(name, descName, parent)