Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 187826
Collapse All | Expand All

(-)src/org/eclipse/jface/viewers/TableViewer.java (-1 / +6 lines)
Lines 9-15 Link Here
9
 *     IBM Corporation - initial API and implementation
9
 *     IBM Corporation - initial API and implementation
10
 *     Tom Schindl <tom.schindl@bestsolution.at> - concept of ViewerRow,
10
 *     Tom Schindl <tom.schindl@bestsolution.at> - concept of ViewerRow,
11
 *                                                 fix for 159597, refactoring (bug 153993), 
11
 *                                                 fix for 159597, refactoring (bug 153993), 
12
 *                                                 widget-independency (bug 154329)
12
 *                                                 widget-independency (bug 154329), fix for 187826
13
 *******************************************************************************/
13
 *******************************************************************************/
14
14
15
package org.eclipse.jface.viewers;
15
package org.eclipse.jface.viewers;
Lines 314-319 Link Here
314
			boolean reveal) {
314
			boolean reveal) {
315
		if (isBusy())
315
		if (isBusy())
316
			return;
316
			return;
317
		
318
		if( isCellEditorActive() ) {
319
			cancelEditing();
320
		}
321
		
317
		preservingSelection(new Runnable() {
322
		preservingSelection(new Runnable() {
318
			public void run() {
323
			public void run() {
319
				internalRefresh(element, updateLabels);
324
				internalRefresh(element, updateLabels);
(-)src/org/eclipse/jface/viewers/ColumnViewer.java (-1 / +11 lines)
Lines 8-14 Link Here
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 *     IBM Corporation - initial API and implementation
10
 *     Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation; bug 153993
10
 *     Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation; bug 153993
11
 *												   fix in bug 163317, 151295, 167323, 167858, 184346
11
 *												   fix in bug 163317, 151295, 167323, 167858, 184346, 187826
12
 *******************************************************************************/
12
 *******************************************************************************/
13
13
14
package org.eclipse.jface.viewers;
14
package org.eclipse.jface.viewers;
Lines 495-506 Link Here
495
	public void refresh(Object element) {
495
	public void refresh(Object element) {
496
		if (isBusy())
496
		if (isBusy())
497
			return;
497
			return;
498
		
499
		if( isCellEditorActive() ) {
500
			cancelEditing();
501
		}
502
		
498
		super.refresh(element);
503
		super.refresh(element);
499
	}
504
	}
500
	
505
	
501
	public void refresh(Object element, boolean updateLabels) {
506
	public void refresh(Object element, boolean updateLabels) {
502
		if (isBusy())
507
		if (isBusy())
503
			return;
508
			return;
509
		
510
		if( isCellEditorActive() ) {
511
			cancelEditing();
512
		}
513
		
504
		super.refresh(element, updateLabels);
514
		super.refresh(element, updateLabels);
505
	}
515
	}
506
	
516
	

Return to bug 187826