comparison dwtx/jface/layout/AbstractColumnLayout.d @ 43:ea8ff534f622

Fix override and super aliases
author Frank Benoit <benoit@tionex.de>
date Fri, 11 Apr 2008 01:24:25 +0200
parents b6c35faf97c8
children 46a6e0e6ccd4
comparison
equal deleted inserted replaced
42:4567a6f54939 43:ea8ff534f622
234 * (non-Javadoc) 234 * (non-Javadoc)
235 * 235 *
236 * @see dwt.widgets.Layout#computeSize(dwt.widgets.Composite, 236 * @see dwt.widgets.Layout#computeSize(dwt.widgets.Composite,
237 * int, int, bool) 237 * int, int, bool)
238 */ 238 */
239 protected Point computeSize(Composite composite, int wHint, int hHint, 239 protected override Point computeSize(Composite composite, int wHint, int hHint,
240 bool flushCache) { 240 bool flushCache) {
241 return computeTableTreeSize(getControl(composite), wHint, hHint); 241 return computeTableTreeSize(getControl(composite), wHint, hHint);
242 } 242 }
243 243
244 /* 244 /*
245 * (non-Javadoc) 245 * (non-Javadoc)
246 * 246 *
247 * @see dwt.widgets.Layout#layout(dwt.widgets.Composite, 247 * @see dwt.widgets.Layout#layout(dwt.widgets.Composite,
248 * bool) 248 * bool)
249 */ 249 */
250 protected void layout(Composite composite, bool flushCache) { 250 protected override void layout(Composite composite, bool flushCache) {
251 Rectangle area = composite.getClientArea(); 251 Rectangle area = composite.getClientArea();
252 Scrollable table = getControl(composite); 252 Scrollable table = getControl(composite);
253 int tableWidth = table.getSize().x; 253 int tableWidth = table.getSize().x;
254 int trim = computeTrim(area, table, tableWidth); 254 int trim = computeTrim(area, table, tableWidth);
255 int width = Math.max(0, area.width - trim); 255 int width = Math.max(0, area.width - trim);