Control ctrl= fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()){  if (fViewer.testFindItem(element) == null) fViewer.add(parent, element);
for (Iterator iter= toRefresh.iterator(); iter.hasNext();) { fViewer.refresh(iter.next(), updateLabels);
			public void run() {				Control ctrl= fViewer.getControl();				if (ctrl != null && !ctrl.isDisposed()){					// TODO workaround for 39754 New projects being added to the TreeViewer twice					if (fViewer.testFindItem(element) == null) 						fViewer.add(parent, element);				}			}