Mercurial > projects > dwt-addons
comparison dwtx/jface/viewers/TreeViewerRow.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 | 04b47443bb01 |
comparison
equal
deleted
inserted
replaced
89:040da1cb0d76 | 90:7ffeace6c47f |
---|---|
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
8 * Contributors: | 8 * Contributors: |
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation | 10 * Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation |
11 * - fix in bug: 174355,171126,,195908,198035,215069 | 11 * - fix in bug: 174355,171126,,195908,198035,215069,227421 |
12 * Port to the D programming language: | 12 * Port to the D programming language: |
13 * Frank Benoit <benoit@tionex.de> | 13 * Frank Benoit <benoit@tionex.de> |
14 *******************************************************************************/ | 14 *******************************************************************************/ |
15 | 15 |
16 module dwtx.jface.viewers.TreeViewerRow; | 16 module dwtx.jface.viewers.TreeViewerRow; |
395 } | 395 } |
396 | 396 |
397 private bool isValidOrderIndex(int currentIndex) { | 397 private bool isValidOrderIndex(int currentIndex) { |
398 return currentIndex < this.item.getParent().getColumnOrder().length; | 398 return currentIndex < this.item.getParent().getColumnOrder().length; |
399 } | 399 } |
400 | |
401 int getWidth(int columnIndex) { | |
402 return item.getParent().getColumn(columnIndex).getWidth(); | |
403 } | |
400 } | 404 } |