(self, inputDef)
| 268 | self._inputCheckboxes.append(checkbox) |
| 269 | |
| 270 | def __checkInputConditions(self, inputDef): |
| 271 | if not inputDef.conditions: |
| 272 | return True |
| 273 | selectedX = self.xType |
| 274 | selectedY = self.yType |
| 275 | for xCond, yCond in inputDef.conditions: |
| 276 | xMatch = True |
| 277 | yMatch = True |
| 278 | if xCond is not None: |
| 279 | xCondHandle, xCondUnit = xCond |
| 280 | xMatch = selectedX.handle == xCondHandle and selectedX.unit == xCondUnit |
| 281 | if yCond is not None: |
| 282 | yCondHandle, yCondUnit = yCond |
| 283 | yMatch = selectedY.handle == yCondHandle and selectedY.unit == yCondUnit |
| 284 | if xMatch and yMatch: |
| 285 | return True |
| 286 | return False |
| 287 | |
| 288 | def refreshAxeLabels(self, restoreSelection=False): |
| 289 | view = self.graphFrame.getView() |
no outgoing calls
no test coverage detected