Lines Matching refs:collection
1273 def __init__(self, collection, xbase=Decimal(0), ybase=Decimal(0)): argument
1274 self.collection = collection
1298 def __init__(self, db, collection, cpu, xbase): argument
1299 super(SwitchGraphData, self).__init__(collection, xbase)
1310 " AND exec_flag = " + self.collection.glb.dbref.TRUE +
1329 " WHERE machine_id = " + str(self.collection.machine_id) +
1341 start_time = self.collection.glb.StartTime(self.collection.machine_id)
1373 hregion = self.collection.LookupHRegion(key)
1376 self.collection.AddHRegion(key, hregion)
1682 def __init__(self, collection, data, attrs, event_handler, first, parent=None): argument
1684 self.collection = collection
1798 def __init__(self, collection, attrs, event_handler, child_class, parent=None): argument
1801 self.collection = collection
1812 for data in collection.data:
1813 child = child_class(collection, data, attrs, event_handler, first, self)
1925 def __init__(self, collection, region_attributes, parent=None): argument
1930 self.child_items = sorted(collection.hregions.values(), key=GraphDataRegionOrdinal)
1999 def __init__(self, collection, region_attributes, parent=None): argument
2002 self.data_model = SwitchGraphLegendModel(collection, region_attributes)
2193 def __init__(self, glb, collection, parent=None): argument
2197 self.collection = collection
2203 self.start_time = self.glb.StartTime(collection.machine_id)
2206 hregions = collection.hregions.values()
2217 xsubrange = Subrange(0.0, float(collection.xrangehi - collection.xrangelo) + 1.0)
2218 ysubrange = Subrange(0.0, float(collection.yrangehi - collection.yrangelo) + 1.0)
2223 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2225 self.item = VertcalGraphSetGraphicsItem(collection, self.attrs, self, SwitchGraphGraphicsItem)
2234 self.legend = SwitchGraphLegend(collection, region_attributes)
2285 rel_time_from = time_from - self.glb.StartTime(self.collection.machine_id)
2345 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2346 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2451 collection = LookupModel(self.collection_name)
2452 if collection is None:
2453 collection = SlowInit(glb, "Time Chart", self.Init)
2455 self.widget = SwitchGraphWidget(glb, collection, self)