Lines Matching refs:currentSegmentName
63 self.currentSegmentName = None
290 self.currentSegmentName = None
328 segment = self.jet_file.GetSegment(self.currentSegmentName)
392 self.currentSegmentName = getColumnText(self.segList, event.m_itemIndex, 0)
398 info = self.graph.LoadSegment(self.jet_file.GetSegment(self.currentSegmentName), showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
404 self.log.SetValue("%s %.2f Seconds" % (self.currentSegmentName, iLength / 1000.00))
406 self.log.SetValue("%s" % (self.currentSegmentName))
457 if self.currentSegmentName is None:
460 segment = self.jet_file.GetSegment(self.currentSegmentName)
486 self.jet_file.UpdateSegment(self.currentSegmentName, dlg.GetValue(JetDefs.F_SEGNAME),
524 if self.currentSegmentName is None:
527 segment = self.jet_file.GetSegment(self.currentSegmentName)
563 if self.currentSegmentName is None:
632 if self.currentSegmentName is None:
635 segment = self.jet_file.GetSegment(self.currentSegmentName)
650 events = self.jet_file.GetEvents(self.currentSegmentName)
653 self.jet_file.DeleteEvent(self.currentSegmentName, evt.event_name)
658 self.jet_file.DeleteEventsMatchingPrefix(self.currentSegmentName, dlg.replicatePrefix)
661 self.jet_file.AddEvent(self.currentSegmentName, replicate[0],
668 currentSegmentName)
671 self.jet_file.AddEvent(self.currentSegmentName, dlg.GetValue(JetDefs.F_ENAME),
679 self.SelectSegment(self.currentSegmentName)
687 if self.currentSegmentName is None:
693 segment = self.jet_file.GetSegment(self.currentSegmentName)
697 curEvent = copy.deepcopy(self.jet_file.GetEvent(self.currentSegmentName, self.currentEventName))
724 self.jet_file.UpdateEvent(self.currentSegmentName,
736 self.jet_file.DeleteEventsMatchingPrefix(self.currentSegmentName, dlg.replicatePrefix)
739 self.jet_file.AddEvent(self.currentSegmentName, replicate[0],
746 self.SelectSegment(self.currentSegmentName)
749 self.SelectSegment(self.currentSegmentName)
756 if self.currentSegmentName is None:
762 curEvent = self.jet_file.GetEvent(self.currentSegmentName, self.currentEventName)
788 self.SelectSegment(self.currentSegmentName)
789 self.LoadEventsForSeg(self.currentSegmentName)
794 self.jet_file.DeleteEvent(self.currentSegmentName, eventName)
799 if self.currentSegmentName is None:
805 segment = self.jet_file.GetSegment(self.currentSegmentName)
809 curEvent = self.jet_file.GetEvent(self.currentSegmentName, self.currentEventName)
833 self.jet_file.MoveEvent(self.currentSegmentName, moveitem[0], moveitem[1], moveitem[2])
835 self.SelectSegment(self.currentSegmentName)
836 self.LoadEventsForSeg(self.currentSegmentName)
1078 if self.currentSegmentName is None:
1081 segment = self.jet_file.GetSegment(self.currentSegmentName)
1084 self.clipBoard = JetCutCopy(self.currentCtrl, segment, self.currentSegmentName)
1087 if self.currentSegmentName is None:
1093 segment = self.jet_file.GetSegment(self.currentSegmentName)
1097 curEvent = self.jet_file.GetEvent(self.currentSegmentName, self.currentEventName)
1100 self.clipBoard = JetCutCopy(self.currentCtrl, curEvent, self.currentSegmentName)
1107 self.SegmentDelete(self.currentSegmentName)
1111 self.LoadEventsForSeg(self.currentSegmentName)
1121 elif self.currentCtrl == JetDefs.MAIN_EVENTLIST and self.clipBoard.objType == JetDefs.MAIN_EVENTLIST and self.clipBoard.currentSegmentName == self.currentSegmentName:
1123 if segment.segname == self.currentSegmentName:
1127 self.LoadEventsForSeg(self.currentSegmentName)
1128 self.graph.LoadSegment(self.jet_file.GetSegment(self.currentSegmentName), showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
1324 self.graph.LoadSegment(self.jet_file.GetSegment(self.currentSegmentName), showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
1330 self.LoadEventsForSeg(self.currentSegmentName)
1331 self.graph.LoadSegment(self.jet_file.GetSegment(self.currentSegmentName), showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))
1362 self.LoadEventsForSeg(self.currentSegmentName)
1363 self.graph.LoadSegment(self.jet_file.GetSegment(self.currentSegmentName), showLabels=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHLABELS, JetDefs.F_GRAPHLABELS, 'bool', 'True'), showClips=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHCLIPS, JetDefs.F_GRAPHCLIPS, 'bool', 'True'), showAppEvts=IniGetValue(self.currentJetConfigFile, JetDefs.F_GRAPHAPPEVTS, JetDefs.F_GRAPHAPPEVTS, 'bool', 'True'))