comparison 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
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,195908,198035,215069 11 * - fix in bug: 174355,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.TableViewerRow; 16 module dwtx.jface.viewers.TableViewerRow;
241 } 241 }
242 242
243 private bool isValidOrderIndex(int currentIndex) { 243 private bool isValidOrderIndex(int currentIndex) {
244 return currentIndex < this.item.getParent().getColumnOrder().length; 244 return currentIndex < this.item.getParent().getColumnOrder().length;
245 } 245 }
246
247 int getWidth(int columnIndex) {
248 return item.getParent().getColumn(columnIndex).getWidth();
249 }
246 } 250 }