diff dwtx/jface/viewers/TableViewerRow.d @ 90:7ffeace6c47f

Update 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Jul 2008 23:30:07 +0200
parents 46a6e0e6ccd4
children
line wrap: on
line diff
--- a/dwtx/jface/viewers/TableViewerRow.d	Sun Jun 22 22:57:31 2008 +0200
+++ b/dwtx/jface/viewers/TableViewerRow.d	Sun Jul 06 23:30:07 2008 +0200
@@ -8,7 +8,7 @@
  * Contributors:
  *     IBM Corporation - initial API and implementation
  *     Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation
- *                                               - fix in bug: 174355,195908,198035,215069
+ *                                               - fix in bug: 174355,195908,198035,215069,227421
  * Port to the D programming language:
  *     Frank Benoit <benoit@tionex.de>
  *******************************************************************************/
@@ -243,4 +243,8 @@
     private bool isValidOrderIndex(int currentIndex) {
         return currentIndex < this.item.getParent().getColumnOrder().length;
     }
+    
+    int getWidth(int columnIndex) {
+        return item.getParent().getColumn(columnIndex).getWidth();
+    }
 }