fCounterPanel.setErrorValue(fTestRunSession.getErrorCount()); fCounterPanel.setFailureValue(fTestRunSession.getFailureCount()); fCounterPanel.setRunValue(fTestRunSession.getStartedCount()); fProgressBar.refresh(hasErrorsOrFailures());
int startedCount; int totalCount; int errorCount; int failureCount; boolean hasErrorsOrFailures;  if (fTestRunSession != null) { startedCount= fTestRunSession.getStartedCount(); totalCount= fTestRunSession.getTotalCount(); errorCount= fTestRunSession.getErrorCount(); failureCount= fTestRunSession.getFailureCount(); hasErrorsOrFailures= hasErrorsOrFailures(); } else { startedCount= 0; totalCount= 0; errorCount= 0; failureCount= 0; hasErrorsOrFailures= false; } fCounterPanel.setRunValue(startedCount); fCounterPanel.setTotal(totalCount); fCounterPanel.setErrorValue(errorCount); fCounterPanel.setFailureValue(failureCount); fProgressBar.refresh(hasErrorsOrFailures);
	private void refreshCounters() {		fCounterPanel.setErrorValue(fTestRunSession.getErrorCount());		fCounterPanel.setFailureValue(fTestRunSession.getFailureCount());		fCounterPanel.setRunValue(fTestRunSession.getStartedCount());		fProgressBar.refresh(hasErrorsOrFailures());	}