comparison dwtx/jface/viewers/AbstractTableViewer.d @ 90:7ffeace6c47f

Update 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Jul 2008 23:30:07 +0200
parents 46a6e0e6ccd4
children 04b47443bb01
comparison
equal deleted inserted replaced
89:040da1cb0d76 90:7ffeace6c47f
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2007 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
1035 } 1035 }
1036 getControl().redraw(); 1036 getControl().redraw();
1037 } 1037 }
1038 1038
1039 /** 1039 /**
1040 * Replace the entries starting at index with elements. This method assumes 1040 * Replace the element at the given index with the given element. This
1041 * all of these values are correct and will not call the content provider to 1041 * method will not call the content provider to verify. <strong>Note that
1042 * verify. <strong>Note that this method will create a TableItem for all of 1042 * this method will materialize a TableItem the given index.</strong>.
1043 * the elements provided</strong>. 1043 *
1044 *
1045 * @param element 1044 * @param element
1046 * @param index 1045 * @param index
1047 * @see ILazyContentProvider 1046 * @see ILazyContentProvider
1048 * 1047 *
1049 * @since 3.1 1048 * @since 3.1
1050 */ 1049 */
1051 public void replace(Object element, int index) { 1050 public void replace(Object element, int index) {
1052 if (checkBusy()) 1051 if (checkBusy())
1053 return; 1052 return;