renamed class
authorimmler@in.tum.de
Sun, 02 Nov 2008 14:32:18 +0100
changeset 34349 1714aeef8388
parent 34348 abea94120f4b
child 34350 aa4f35a305fa
renamed class
src/Tools/jEdit/src/jedit/ScrollerDockable.scala
--- a/src/Tools/jEdit/src/jedit/ScrollerDockable.scala	Sun Nov 02 14:31:18 2008 +0100
+++ b/src/Tools/jEdit/src/jedit/ScrollerDockable.scala	Sun Nov 02 14:32:18 2008 +0100
@@ -1,5 +1,5 @@
 /*
- * LazyScroller.scala
+ * ScrollerDockable.scala
  *
  * TODO: clearer seperation of tasks: layout message_view, layout panel (with preferredsize), repaint, relayout, ...
  * + relayout on ValueIsAdjusting while scrolling
@@ -30,7 +30,7 @@
 
 import org.gjt.sp.jedit.View
 
-object LazyScroller {
+object ScrollerDockable {
   val baseURL = "file://localhost" + getenv("ISABELLE_HOME") + "/lib/html/"
   val userStylesheet = 
     "file://localhost" + getenv("ISABELLE_HOME_USER") + "/etc/user.css";
@@ -49,7 +49,7 @@
 }
 
 
-class LazyScroller(view : View, position : String) extends JPanel with AdjustmentListener with ComponentListener {
+class ScrollerDockable(view : View, position : String) extends JPanel with AdjustmentListener with ComponentListener {
   //holding the unrendered messages
   val message_buffer = new ArrayBuffer[Document]()
   //rendered messages
@@ -86,7 +86,7 @@
       panel.relayout()
     })
 
-    panel.setDocument(message, LazyScroller.baseURL)
+    panel.setDocument(message, ScrollerDockable.baseURL)
     panel
   }