Whole refactor.
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / ResultsInfoComposite.java
index efaa99b..ae43e74 100644 (file)
@@ -6,7 +6,6 @@
  * 
  *************************************************************************/
 
-
 package net.sourceforge.phpeclipse.phpunit;
 
 import net.sourceforge.phpeclipse.phpunit.testpool.TestPool;
@@ -17,13 +16,10 @@ import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Composite;
 
-
 public class ResultsInfoComposite extends Composite {
 
-
-       
        private TreeViewer treeViewer;
-       
+
        /**
         * @param arg0
         * @param arg1
@@ -34,34 +30,34 @@ public class ResultsInfoComposite extends Composite {
 
                GridLayout layout = new GridLayout();
                layout.numColumns = 1;
-               
+
                setLayout(layout);
-               
+
                treeViewer = new TreeViewer(this, SWT.BORDER | SWT.SHADOW_ETCHED_IN);
 
-               treeViewer.getControl().setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.FILL_BOTH | GridData.GRAB_VERTICAL));
-               
-               
+               treeViewer.getControl().setLayoutData(
+                               new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.FILL_BOTH
+                                               | GridData.GRAB_VERTICAL));
+
                TestPoolLabelProvider labelProvider = new TestPoolLabelProvider();
-               TestPoolContentProvider contentProvider= new TestPoolContentProvider();
-               
+               TestPoolContentProvider contentProvider = new TestPoolContentProvider();
+
                treeViewer.setContentProvider(contentProvider);
                treeViewer.setLabelProvider(labelProvider);
-                               
+
        }
 
-       
        public void resetInfo() {
-               
+
                treeViewer.setInput(null);
        }
-       
+
        public void updateInfo(TestPool testPool) {
-               
+
                // take care of the TreeView and its content and label providers.
-       
+
                treeViewer.setInput(testPool.getRoot());
-               
+
        }
 
 }