Merged xdebug from 1.3.x
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / html / TableElementLabelProvider.java
index aaf54c8..7fb1752 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: TableElementLabelProvider.java,v 1.2 2005-05-06 00:57:33 stefanbjarni Exp $
+ * $Id: TableElementLabelProvider.java,v 1.3 2006-10-21 23:18:43 pombredanne Exp $
  * Copyright Narushima Hironori. All rights reserved.
  */
 package net.sourceforge.phpeclipse.wizards.html;
@@ -19,18 +19,19 @@ public class TableElementLabelProvider implements ITableLabelProvider {
        }
 
        public String getColumnText(Object element, int columnIndex) {
-               Element[] cells = TableElementModel.chooseCellElements((Element)element);
-               if(columnIndex < cells.length){
+               Element[] cells = TableElementModel
+                               .chooseCellElements((Element) element);
+               if (columnIndex < cells.length) {
                        Element elem = cells[columnIndex];
                        return elem.toString();
-               }else{
+               } else {
                        throw new IllegalArgumentException("Invalid element:" + element);
                }
        }
 
        public boolean isLabelProperty(Object element, String property) {
                return TableElementModel.toNumeric(property) != -1;
-       }
+       }
 
        public void addListener(ILabelProviderListener listener) {
        }