Lines Matching refs:collection

1269 	def __init__(self, collection, xbase=Decimal(0), ybase=Decimal(0)):
1270 self.collection = collection
1294 def __init__(self, db, collection, cpu, xbase):
1295 super(SwitchGraphData, self).__init__(collection, xbase)
1306 " AND exec_flag = " + self.collection.glb.dbref.TRUE +
1325 " WHERE machine_id = " + str(self.collection.machine_id) +
1337 start_time = self.collection.glb.StartTime(self.collection.machine_id)
1369 hregion = self.collection.LookupHRegion(key)
1372 self.collection.AddHRegion(key, hregion)
1375 # Graph data collection (multiple related graphs) base class
1400 # Switch graph data collection (SwitchGraphData for each CPU)
1678 def __init__(self, collection, data, attrs, event_handler, first, parent=None):
1680 self.collection = collection
1794 def __init__(self, collection, attrs, event_handler, child_class, parent=None):
1797 self.collection = collection
1808 for data in collection.data:
1809 child = child_class(collection, data, attrs, event_handler, first, self)
1921 def __init__(self, collection, region_attributes, parent=None):
1926 self.child_items = sorted(collection.hregions.values(), key=GraphDataRegionOrdinal)
1995 def __init__(self, collection, region_attributes, parent=None):
1998 self.data_model = SwitchGraphLegendModel(collection, region_attributes)
2189 def __init__(self, glb, collection, parent=None):
2193 self.collection = collection
2199 self.start_time = self.glb.StartTime(collection.machine_id)
2202 hregions = collection.hregions.values()
2213 xsubrange = Subrange(0.0, float(collection.xrangehi - collection.xrangelo) + 1.0)
2214 ysubrange = Subrange(0.0, float(collection.yrangehi - collection.yrangelo) + 1.0)
2219 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2221 self.item = VertcalGraphSetGraphicsItem(collection, self.attrs, self, SwitchGraphGraphicsItem)
2230 self.legend = SwitchGraphLegend(collection, region_attributes)
2281 rel_time_from = time_from - self.glb.StartTime(self.collection.machine_id)
2341 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2342 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2447 collection = LookupModel(self.collection_name)
2448 if collection is None:
2449 collection = SlowInit(glb, "Time Chart", self.Init)
2451 self.widget = SwitchGraphWidget(glb, collection, self)