Lines Matching refs:collection
1270 def __init__(self, collection, xbase=Decimal(0), ybase=Decimal(0)): argument
1271 self.collection = collection
1295 def __init__(self, db, collection, cpu, xbase): argument
1296 super(SwitchGraphData, self).__init__(collection, xbase)
1307 " AND exec_flag = " + self.collection.glb.dbref.TRUE +
1326 " WHERE machine_id = " + str(self.collection.machine_id) +
1338 start_time = self.collection.glb.StartTime(self.collection.machine_id)
1370 hregion = self.collection.LookupHRegion(key)
1373 self.collection.AddHRegion(key, hregion)
1679 def __init__(self, collection, data, attrs, event_handler, first, parent=None): argument
1681 self.collection = collection
1795 def __init__(self, collection, attrs, event_handler, child_class, parent=None): argument
1798 self.collection = collection
1809 for data in collection.data:
1810 child = child_class(collection, data, attrs, event_handler, first, self)
1922 def __init__(self, collection, region_attributes, parent=None): argument
1927 self.child_items = sorted(collection.hregions.values(), key=GraphDataRegionOrdinal)
1996 def __init__(self, collection, region_attributes, parent=None): argument
1999 self.data_model = SwitchGraphLegendModel(collection, region_attributes)
2190 def __init__(self, glb, collection, parent=None): argument
2194 self.collection = collection
2200 self.start_time = self.glb.StartTime(collection.machine_id)
2203 hregions = collection.hregions.values()
2214 xsubrange = Subrange(0.0, float(collection.xrangehi - collection.xrangelo) + 1.0)
2215 ysubrange = Subrange(0.0, float(collection.yrangehi - collection.yrangelo) + 1.0)
2220 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2222 self.item = VertcalGraphSetGraphicsItem(collection, self.attrs, self, SwitchGraphGraphicsItem)
2231 self.legend = SwitchGraphLegend(collection, region_attributes)
2282 rel_time_from = time_from - self.glb.StartTime(self.collection.machine_id)
2342 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2343 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2448 collection = LookupModel(self.collection_name)
2449 if collection is None:
2450 collection = SlowInit(glb, "Time Chart", self.Init)
2452 self.widget = SwitchGraphWidget(glb, collection, self)