Refactored the progressInfoComposite and resultsInfoComposite into their own classes
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / ResultsInfoComposite.java
diff --git a/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/ResultsInfoComposite.java b/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/ResultsInfoComposite.java
new file mode 100644 (file)
index 0000000..8f50171
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * Created on Jul 31, 2004
+ *
+ * To change the template for this generated file go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package net.sourceforge.phpeclipse.phpunit;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.FillLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Text;
+
+/**
+ * @author Ali Echihabi
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class ResultsInfoComposite extends Composite {
+
+
+       private Text reportArea; // TODO: replace with Tree display like JUnit
+       
+       /**
+        * @param arg0
+        * @param arg1
+        */
+       public ResultsInfoComposite(Composite parent) {
+
+               super(parent, SWT.NONE);
+
+               setLayout(new FillLayout(SWT.VERTICAL));
+
+               reportArea =
+                       new Text(
+                               this,
+                               SWT.MULTI
+                                       | SWT.BORDER
+                                       | SWT.WRAP
+                                       | SWT.V_SCROLL
+                                       | SWT.READ_ONLY);
+               
+       }
+
+       
+       
+       public void updateInfo(TestPool testPool) {
+               
+               // take care of the TreeView and its content and label providers.
+               
+       }
+       
+
+
+
+       
+
+}