diff dwt/custom/TreeEditor.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/TreeEditor.d	Sun Jan 27 16:20:03 2008 +0100
+++ b/dwt/custom/TreeEditor.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
@@ -193,7 +193,7 @@
  * Removes all associations between the TreeEditor and the row in the tree.  The
  * tree and the editor Control are <b>not</b> disposed.
  */
-public void dispose () {
+public override void dispose () {
     if (tree !is null && !tree.isDisposed()) {
         if (this.column > -1 && this.column < tree.getColumnCount()){
             TreeColumn treeColumn = tree.getColumn(this.column);
@@ -297,7 +297,7 @@
     setColumn(column);
     setEditor(editor);
 }
-public void setEditor (Control editor) {
+public override void setEditor (Control editor) {
     super.setEditor(editor);
     resize();
 }
@@ -316,7 +316,7 @@
     setEditor(editor);
 }
 
-public void layout () {
+public override void layout () {
     if (tree is null || tree.isDisposed()) return;
     if (item is null || item.isDisposed()) return;
     int columnCount = tree.getColumnCount();