src/Tools/jEdit/src/jedit/OutputDockable.scala
changeset 34406 f81cd75ae331
parent 34318 c13e168a8ae6
child 34408 ad7b6c4813c8
equal deleted inserted replaced
34405:a67a4eaebcff 34406:f81cd75ae331
     5 import javax.swing.{ JPanel, JTextArea, JScrollPane }
     5 import javax.swing.{ JPanel, JTextArea, JScrollPane }
     6 
     6 
     7 import org.gjt.sp.jedit.View
     7 import org.gjt.sp.jedit.View
     8 
     8 
     9 class OutputDockable(view : View, position : String) extends JPanel {
     9 class OutputDockable(view : View, position : String) extends JPanel {
    10   {
    10 
    11     val textView = new JTextArea()
    11   setLayout(new GridLayout(1, 1))
    12     
    12   add(new JScrollPane(new JTextArea("No Prover running")))
    13     setLayout(new GridLayout(1, 1))
       
    14     add(new JScrollPane(textView))
       
    15     
       
    16     textView.append("== Isabelle output ==\n")
       
    17     
       
    18     Plugin.plugin.prover.outputInfo.add( text => textView.append(text) )
       
    19   }
       
    20 }
    13 }