Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) fViewer.update(element, new String[]{IBasicPropertyConstants.P_IMAGE}); }
Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) {   if (fViewer.testFindItem(addedElement) != null) fViewer.setSelection(selection); } }
			public void run() {				// 1GF87WR: ITPUI:ALL - SWTEx + NPE closing a workbench window.				Control ctrl= fViewer.getControl();				if (ctrl != null && !ctrl.isDisposed()) 					fViewer.update(element, new String[]{IBasicPropertyConstants.P_IMAGE});			}