intial source from http://www.sf.net/projects/wdte
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / ResultsInfoComposite.java
1 /*
2  * Created on Jul 31, 2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */
7 package net.sourceforge.phpeclipse.phpunit;
8
9 import org.eclipse.swt.SWT;
10 import org.eclipse.swt.layout.FillLayout;
11 import org.eclipse.swt.widgets.Composite;
12 import org.eclipse.swt.widgets.Text;
13
14 /**
15  * @author Ali Echihabi
16  *
17  * To change the template for this generated type comment go to
18  * Window>Preferences>Java>Code Generation>Code and Comments
19  */
20 public class ResultsInfoComposite extends Composite {
21
22
23         private Text reportArea; // TODO: replace with Tree display like JUnit
24         
25         /**
26          * @param arg0
27          * @param arg1
28          */
29         public ResultsInfoComposite(Composite parent) {
30
31                 super(parent, SWT.NONE);
32
33                 setLayout(new FillLayout(SWT.VERTICAL));
34
35                 reportArea =
36                         new Text(
37                                 this,
38                                 SWT.MULTI
39                                         | SWT.BORDER
40                                         | SWT.WRAP
41                                         | SWT.V_SCROLL
42                                         | SWT.READ_ONLY);
43                 
44         }
45
46         
47         
48         public void updateInfo(TestPool testPool) {
49                 
50                 // take care of the TreeView and its content and label providers.
51                 
52         }
53         
54
55
56
57         
58
59 }