Image progress= fProgressImages.getImage(fTestRunSession.getStartedCount(), fTestRunSession.getTotalCount(), fTestRunSession.getErrorCount(), fTestRunSession.getFailureCount()); if (progress != fViewImage) { fViewImage= progress; firePropertyChange(IWorkbenchPart.PROP_TITLE);
if (fTestRunSession != null) { if (fTestRunSession.isRunning()) { Image progress= fProgressImages.getImage( fTestRunSession.getStartedCount(), fTestRunSession.getTotalCount(), fTestRunSession.getErrorCount(), fTestRunSession.getFailureCount()); if (progress != fViewImage) { fViewImage= progress; firePropertyChange(IWorkbenchPart.PROP_TITLE); } } else if (fTestRunSession.isStopped()) { resetViewIcon(); } else { updateViewIcon(); } } else { resetViewIcon();
	private void updateViewTitleProgress() {		Image progress= fProgressImages.getImage(fTestRunSession.getStartedCount(), fTestRunSession.getTotalCount(), fTestRunSession.getErrorCount(),				fTestRunSession.getFailureCount());		if (progress != fViewImage) {			fViewImage= progress;			firePropertyChange(IWorkbenchPart.PROP_TITLE);		}	}