示例#1
0
 def setValue(self, target_case):
     if target_case is None or target_case.strip() == "" or target_case == self.getDefaultValue():
         self._custom = False
         ValueModel.setValue(self, self.getDefaultValue())
     else:
         self._custom = True
         ValueModel.setValue(self, target_case)
示例#2
0
 def setValue(self, target_case):
     if target_case is None or target_case.strip() == "" or target_case == self.getDefaultValue():
         self._custom = False
         ValueModel.setValue(self, self.getDefaultValue())
     else:
         self._custom = True
         ValueModel.setValue(self, target_case)
示例#3
0
 def setValue(self, active_realizations):
     if active_realizations is None or active_realizations.strip() == "" or active_realizations == self.getDefaultValue():
         self._custom = False
         ValueModel.setValue(self, self.getDefaultValue())
     else:
         self._custom = True
         ValueModel.setValue(self, active_realizations)
 def setValue(self, active_realizations):
     if active_realizations is None or active_realizations.strip() == "" or active_realizations == self.getDefaultValue():
         self._custom = False
         ValueModel.setValue(self, self.getDefaultValue())
     else:
         self._custom = True
         ValueModel.setValue(self, active_realizations)
示例#5
0
 def _caseChanged(self):
     if not self._custom:
         ValueModel.setValue(self, self.getDefaultValue())
示例#6
0
 def _caseChanged(self):
     if not self._custom:
         ValueModel.setValue(self, self.getDefaultValue())
示例#7
0
 def _caseChanged(self):
     ValueModel.setValue(self, self.getDefaultValue())
示例#8
0
 def setValue(self, iter_value):
     ValueModel.setValue(self, iter_value)