changeset 34318 | c13e168a8ae6 |
child 34406 | f81cd75ae331 |
-1:000000000000 | 34318:c13e168a8ae6 |
---|---|
1 package isabelle.jedit |
|
2 |
|
3 import java.awt.GridLayout |
|
4 |
|
5 import javax.swing.{ JPanel, JTextArea, JScrollPane } |
|
6 |
|
7 import org.gjt.sp.jedit.View |
|
8 |
|
9 class OutputDockable(view : View, position : String) extends JPanel { |
|
10 { |
|
11 val textView = new JTextArea() |
|
12 |
|
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 } |