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