]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.common/src/org/simantics/spreadsheet/common/TreeTableCell.java
TreeGridWidget improvements
[simantics/platform.git] / bundles / org.simantics.spreadsheet.common / src / org / simantics / spreadsheet / common / TreeTableCell.java
index fb80d07605493f42119f05af20f38d5d8ae766fa..299c7c7964955e4c47b2aa1beab214342ae35c39 100644 (file)
@@ -36,6 +36,16 @@ public class TreeTableCell extends TableCell implements ITreeTableCell {
                this.data = data;
        }
        
+       @Override
+       public int getRowSpan() {
+               throw new IllegalStateException("Row span is not supported in TreeTableCell");
+       }
+       
+       @Override
+       public int getColumnSpan() {
+               throw new IllegalStateException("Column span is not supported in TreeTableCell");
+       }
+       
        public static TreeTableCell createTreeTableCell(String text, Object data, Object font, int parent, int row, int column, boolean editable) {
                return new TreeTableCell(text, data, extractIFont(font), parent, row, column, editable);
        }
@@ -47,7 +57,6 @@ public class TreeTableCell extends TableCell implements ITreeTableCell {
                        String style = "";
                        int size = 12;
                        for(FontData d : descriptor.getFontData()) {
-                               System.err.println("data: " + d);
                                family = d.getName();
                                if((d.getStyle() & SWT.ITALIC) != 0) style += "Italic";
                                if((d.getStyle() & SWT.BOLD) != 0) style += "Bold";