tuned signature, following Document_Dockable;
authorwenzelm
Mon, 19 Dec 2022 14:27:26 +0100
changeset 76712 63c0a456b977
parent 76711 1e1806912bc1
child 76713 d8b3b8a179c2
tuned signature, following Document_Dockable;
src/Tools/jEdit/src/theories_dockable.scala
--- a/src/Tools/jEdit/src/theories_dockable.scala	Mon Dec 19 14:10:12 2022 +0100
+++ b/src/Tools/jEdit/src/theories_dockable.scala	Mon Dec 19 14:27:26 2022 +0100
@@ -48,8 +48,8 @@
 
   /* main */
 
-  val status = new Theories_Status(view)
-  set_content(new ScrollPane(status.gui))
+  private val theories = new Theories_Status(view)
+  set_content(new ScrollPane(theories.gui))
 
   private val main =
     Session.Consumer[Any](getClass.getName) {
@@ -60,11 +60,11 @@
         GUI_Thread.later {
           continuous_checking.load()
           logic.load()
-          status.refresh()
+          theories.refresh()
         }
 
       case changed: Session.Commands_Changed =>
-        GUI_Thread.later { status.update(domain = Some(changed.nodes), trim = changed.assignment) }
+        GUI_Thread.later { theories.update(domain = Some(changed.nodes), trim = changed.assignment) }
     }
 
   override def init(): Unit = {
@@ -73,7 +73,7 @@
     PIDE.session.commands_changed += main
 
     handle_phase(PIDE.session.phase)
-    status.update()
+    theories.update()
   }
 
   override def exit(): Unit = {