Mercurial > projects > dwt-linux
diff dwt/custom/TableTreeEditor.d @ 150:f2e04420fd6c
reworked overrides and superclass aliases
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 31 Jan 2008 19:04:56 +0100 |
parents | 0f12f6bb9739 |
children | 17f8449522fd |
line wrap: on
line diff
--- a/dwt/custom/TableTreeEditor.d Sun Jan 27 16:20:03 2008 +0100 +++ b/dwt/custom/TableTreeEditor.d Thu Jan 31 19:04:56 2008 +0100 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -94,6 +94,9 @@ * @deprecated As of 3.1 use TreeEditor with Tree, TreeItem and TreeColumn */ public class TableTreeEditor : ControlEditor { + + alias ControlEditor.setEditor setEditor; + TableTree tableTree; TableTreeItem item; int column = -1; @@ -187,7 +190,7 @@ * Removes all associations between the TableTreeEditor and the cell in the table tree. The * TableTree and the editor Control are <b>not</b> disposed. */ -public void dispose () { +public override void dispose () { if (tableTree !is null && !tableTree.isDisposed()) { Table table = tableTree.getTable(); if (table !is null && !table.isDisposed()) { @@ -265,7 +268,7 @@ setColumn(column); setEditor(editor); } -public void layout () { +public override void layout () { if (tableTree is null || tableTree.isDisposed()) return; if (item is null || item.isDisposed()) return; Table table = tableTree.getTable();