Lines Matching refs:collection
1263 def __init__(self, collection, xbase=Decimal(0), ybase=Decimal(0)): argument
1264 self.collection = collection
1288 def __init__(self, db, collection, cpu, xbase): argument
1289 super(SwitchGraphData, self).__init__(collection, xbase)
1300 " AND exec_flag = " + self.collection.glb.dbref.TRUE +
1319 " WHERE machine_id = " + str(self.collection.machine_id) +
1331 start_time = self.collection.glb.StartTime(self.collection.machine_id)
1363 hregion = self.collection.LookupHRegion(key)
1366 self.collection.AddHRegion(key, hregion)
1672 def __init__(self, collection, data, attrs, event_handler, first, parent=None): argument
1674 self.collection = collection
1788 def __init__(self, collection, attrs, event_handler, child_class, parent=None): argument
1791 self.collection = collection
1802 for data in collection.data:
1803 child = child_class(collection, data, attrs, event_handler, first, self)
1915 def __init__(self, collection, region_attributes, parent=None): argument
1920 self.child_items = sorted(collection.hregions.values(), key=GraphDataRegionOrdinal)
1989 def __init__(self, collection, region_attributes, parent=None): argument
1992 self.data_model = SwitchGraphLegendModel(collection, region_attributes)
2183 def __init__(self, glb, collection, parent=None): argument
2187 self.collection = collection
2193 self.start_time = self.glb.StartTime(collection.machine_id)
2196 hregions = collection.hregions.values()
2207 xsubrange = Subrange(0.0, float(collection.xrangehi - collection.xrangelo) + 1.0)
2208 ysubrange = Subrange(0.0, float(collection.yrangehi - collection.yrangelo) + 1.0)
2213 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2215 self.item = VertcalGraphSetGraphicsItem(collection, self.attrs, self, SwitchGraphGraphicsItem)
2224 self.legend = SwitchGraphLegend(collection, region_attributes)
2275 rel_time_from = time_from - self.glb.StartTime(self.collection.machine_id)
2335 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2336 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2441 collection = LookupModel(self.collection_name)
2442 if collection is None:
2443 collection = SlowInit(glb, "Time Chart", self.Init)
2445 self.widget = SwitchGraphWidget(glb, collection, self)