Mercurial > projects > dwt-addons
diff dwtx/jface/viewers/TableViewerEditor.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 | 07b9d96fd764 |
line wrap: on
line diff
--- a/dwtx/jface/viewers/TableViewerEditor.d Thu Apr 10 19:10:12 2008 +0200 +++ b/dwtx/jface/viewers/TableViewerEditor.d Fri Apr 11 01:24:25 2008 +0200 @@ -121,17 +121,17 @@ create(viewer, null, editorActivationStrategy, feature); } - protected void setEditor(Control w, Item item, int columnNumber) { + protected override void setEditor(Control w, Item item, int columnNumber) { tableEditor.setEditor(w, cast(TableItem) item, columnNumber); } - protected void setLayoutData(CellEditor.LayoutData layoutData) { + protected override void setLayoutData(CellEditor.LayoutData layoutData) { tableEditor.grabHorizontal = layoutData.grabHorizontal; tableEditor.horizontalAlignment = layoutData.horizontalAlignment; tableEditor.minimumWidth = layoutData.minimumWidth; } - public ViewerCell getFocusCell() { + public override ViewerCell getFocusCell() { if (focusCellManager !is null) { return focusCellManager.getFocusCell(); } @@ -139,7 +139,7 @@ return super.getFocusCell(); } - protected void updateFocusCell(ViewerCell focusCell, + protected override void updateFocusCell(ViewerCell focusCell, ColumnViewerEditorActivationEvent event) { // Update the focus cell when we activated the editor with these 2 // events