renamed Delay to clarified version Swing_Thread.delay;
authorwenzelm
Sat, 04 Jul 2009 23:26:24 +0200
changeset 34643 3896caeedf82
parent 34642 3f0cee99b29f
child 34644 1f7b410f66e4
renamed Delay to clarified version Swing_Thread.delay;
src/Tools/jEdit/src/jedit/PhaseOverviewPanel.scala
src/Tools/jEdit/src/jedit/TheoryView.scala
--- a/src/Tools/jEdit/src/jedit/PhaseOverviewPanel.scala	Sat Jul 04 23:03:17 2009 +0200
+++ b/src/Tools/jEdit/src/jedit/PhaseOverviewPanel.scala	Sat Jul 04 23:26:24 2009 +0200
@@ -25,7 +25,7 @@
   private val WIDTH = 10
 	private val HILITE_HEIGHT = 2
 
-  val repaint_delay = Delay(100){ repaint() }
+  val repaint_delay = Swing_Thread.delay(100){ repaint() }
 
   setRequestFocusEnabled(false);
 
--- a/src/Tools/jEdit/src/jedit/TheoryView.scala	Sat Jul 04 23:03:17 2009 +0200
+++ b/src/Tools/jEdit/src/jedit/TheoryView.scala	Sat Jul 04 23:26:24 2009 +0200
@@ -95,16 +95,16 @@
 
   /* painting */
 
-  val update_delay = Delay(500){ buffer.propertiesChanged() }
-  val repaint_delay = Delay(100){ repaint_all() }
+  val update_delay = Swing_Thread.delay(500){ buffer.propertiesChanged() }
+  val repaint_delay = Swing_Thread.delay(100){ repaint_all() }
   
   val change_receiver = actor {
     loop {
       react {
         case _ =>
-          update_delay.prod()
-          repaint_delay.prod()
-          phase_overview.repaint_delay.prod()
+          update_delay()
+          repaint_delay()
+          phase_overview.repaint_delay()
       }
     }
   }