예제 #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)
예제 #4
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)
예제 #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)