Bugs with undefined functions fixed
authorlbessard
Wed, 18 Mar 2009 15:54:37 +0100
changeset 326 c82807b17128
parent 325 0a58f1625b6e
child 327 7fd5233ce5ce
Bugs with undefined functions fixed
GraphicViewer.py
--- a/GraphicViewer.py	Wed Mar 18 15:54:09 2009 +0100
+++ b/GraphicViewer.py	Wed Mar 18 15:54:37 2009 +0100
@@ -175,13 +175,25 @@
         self.Canvas.Draw(self.GraphicsObject, xAxis=(start, end))
         
         self.RefreshScrollBar()
-        
+    
+    def SetMode(self, mode):
+        pass
+    
     def GetTagName(self):
         return ""
     
     def GetInstancePath(self):
         return self.InstancePath
     
+    def IsViewing(self, tagname):
+        return self.InstancePath == tagname
+    
+    def ResetBuffer(self):
+        pass
+    
+    def RefreshScaling(self, refresh=True):
+        pass
+    
     def AddPoint(self, tick, value):
         self.Datas.append((float(tick), {True:1., False:0.}.get(value, float(value))))
         if self.CurrentValue + self.CurrentRange == len(self.Datas) - 1: