Mercurial > projects > dwt-win
diff dwt/custom/TableEditor.d @ 246:fd9c62a2998e
Updater SWT 3.4M7 to 3.4
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 01 Jul 2008 10:15:59 +0200 |
parents | ab60f3309436 |
children | 349b8c12e243 |
line wrap: on
line diff
--- a/dwt/custom/TableEditor.d Tue Jul 01 08:58:50 2008 +0200 +++ b/dwt/custom/TableEditor.d Tue Jul 01 10:15:59 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 * which accompanies this distribution, and is available at @@ -80,6 +80,9 @@ * } * }); * </pre></code> +* +* @see <a href="http://www.eclipse.org/swt/snippets/#tableeditor">TableEditor snippets</a> +* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ public class TableEditor : ControlEditor { Table table; @@ -229,6 +232,11 @@ tableColumn.addControlListener(columnListener); resize(); } +/** +* Specifies the <code>TableItem</code> that is to be edited. +* +* @param item the item to be edited +*/ public void setItem (TableItem item) { this.item = item; resize();