def onAddException(self,evt): dlg = ExceptionDialog(self,self.theEnvironmentName) if (dlg.ShowModal() == armid.EXCEPTION_BUTTONCOMMIT_ID): pos = self.GetGridCursorRow() table = self.GetTable() currentStep = table.steps[pos] exc = dlg.parameters() currentStep.addException(exc)
def onAddException(self, evt): dlg = ExceptionDialog(self, self.theEnvironmentName) if (dlg.ShowModal() == EXCEPTION_BUTTONCOMMIT_ID): pos = self.GetGridCursorRow() table = self.GetTable() currentStep = table.steps[pos] exc = dlg.parameters() currentStep.addException(exc)
def onExceptionActivated(self,evt): self.theSelectedIdx = evt.GetIndex() excName = self.GetItemText(self.theSelectedIdx) exc = self.stepGrid.stepException(excName) dlg = ExceptionDialog(self,self.theEnvironmentName,exc[0],exc[1],exc[2],exc[3],exc[4]) if (dlg.ShowModal() == EXCEPTION_BUTTONCOMMIT_ID): updExc = dlg.parameters() self.stepGrid.setStepException(self.theSelectedIdx,excName,updExc) self.SetStringItem(self.theSelectedIdx,0,updExc[0])
def onAddException(self,evt): dlg = ExceptionDialog(self,self.theEnvironmentName) if (dlg.ShowModal() == EXCEPTION_BUTTONCOMMIT_ID): exc = dlg.parameters() pos = self.stepGrid.GetGridCursorRow() table = self.stepGrid.GetTable() currentStep = table.steps[pos] currentStep.addException(exc) table.steps[pos] = currentStep self.InsertStringItem(0,exc[0])
def onAddException(self, evt): dlg = ExceptionDialog(self, self.theEnvironmentName) if (dlg.ShowModal() == armid.EXCEPTION_BUTTONCOMMIT_ID): exc = dlg.parameters() pos = self.stepGrid.GetGridCursorRow() table = self.stepGrid.GetTable() currentStep = table.steps[pos] currentStep.addException(exc) table.steps[pos] = currentStep self.InsertStringItem(0, exc[0])
def onExceptionActivated(self, evt): self.theSelectedIdx = evt.GetIndex() excName = self.GetItemText(self.theSelectedIdx) exc = self.stepGrid.stepException(excName) dlg = ExceptionDialog(self, self.theEnvironmentName, exc[0], exc[1], exc[2], exc[3], exc[4]) if (dlg.ShowModal() == EXCEPTION_BUTTONCOMMIT_ID): updExc = dlg.parameters() self.stepGrid.setStepException(self.theSelectedIdx, excName, updExc) self.SetStringItem(self.theSelectedIdx, 0, updExc[0])