Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 5
0
 def _caseChanged(self):
     if not self._custom:
         ValueModel.setValue(self, self.getDefaultValue())
Esempio n. 6
0
 def _caseChanged(self):
     if not self._custom:
         ValueModel.setValue(self, self.getDefaultValue())
Esempio n. 7
0
 def _caseChanged(self):
     ValueModel.setValue(self, self.getDefaultValue())
Esempio n. 8
0
 def setValue(self, iter_value):
     ValueModel.setValue(self, iter_value)