Mercurial > projects > dwt-addons
diff dwtx/jface/viewers/ColumnViewerToolTipSupport.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 |
line wrap: on
line diff
--- a/dwtx/jface/viewers/ColumnViewerToolTipSupport.d Thu Apr 10 19:10:12 2008 +0200 +++ b/dwtx/jface/viewers/ColumnViewerToolTipSupport.d Fri Apr 11 01:24:25 2008 +0200 @@ -96,11 +96,11 @@ new ColumnViewerToolTipSupport(viewer,style,false); } - protected Object getToolTipArea(Event event) { + protected override Object getToolTipArea(Event event) { return viewer.getCell(new Point(event.x,event.y)); } - protected final bool shouldCreateToolTip(Event event) { + protected override final bool shouldCreateToolTip(Event event) { if( ! super.shouldCreateToolTip(event) ) { return false; } @@ -165,7 +165,7 @@ return rv; } - protected void afterHideToolTip(Event event) { + protected override void afterHideToolTip(Event event) { if (event !is null && event.widget !is viewer.getControl()) { if (event.type is DWT.MouseDown) { viewer.setSelection(new StructuredSelection());