Mercurial > projects > dwt2
diff org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/SelectionData.d @ 91:2755ef2c8ef8
Fix compile for base type changes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 19 Apr 2009 12:22:47 +0200 |
parents | bc29606a740c |
children |
line wrap: on
line diff
--- a/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/SelectionData.d Sun Apr 19 11:33:55 2009 +0200 +++ b/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/SelectionData.d Sun Apr 19 12:22:47 2009 +0200 @@ -93,7 +93,7 @@ return isInverted(rowHeight) ? start.x:stop.x; } private bool isInverted(Locator locator) { - int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].value; + int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].intValue(); return isInverted(rowHeight); } private bool isInverted(int rowHeight) { @@ -112,7 +112,7 @@ public bool isSelectedRow(Locator locator) { if (!isEnclosed()) return false; - int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].value; + int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].intValue(); return isSelectedRow(locator.y, rowHeight); } public bool isSelectedRow(int y, int rowHeight) { @@ -124,7 +124,7 @@ public bool isFirstSelectionRow(Locator locator) { if (!isEnclosed()) return false; - int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].value; + int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].intValue(); return (locator.y + rowHeight >= getTopOffset() && locator.y <= getTopOffset()); } @@ -137,7 +137,7 @@ public bool isLastSelectionRow(Locator locator) { if (!isEnclosed()) return false; - int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].value; + int rowHeight = arrayFromObject!(Integer)(locator.heights.get(locator.rowCounter))[0].intValue(); return (locator.y + rowHeight >=getBottomOffset() && locator.y <= getBottomOffset()); }