Bug 81099 JUnit preference does not Restore Defaults [JUnit]
I200412142000 Restore Defaults has no effect on the "Show JUnit view only when error occurs" preference.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
loadLaunchConfigTypeIDs();
		}
		return fJUnitLaunchConfigTypeIDs;
	}
	/**
	 * Adds a TestRun listener to the collection of listeners
	 */
	public void addTestRunListener(ITestRunListener newListener) {
		if (fTestRunListeners == null) 
			loadTestRunListeners();
		
		for (Iterator iter= fTestRunListeners.iterator(); iter.hasNext();) {
			Object o= iter.next();
			if (o == newListener)
				return;
		}
		fTestRunListeners.add(newListener);
	}
	/**
	 * Removes a TestRun listener to the collection of listeners
	 */
	public void removeTestRunListener(ITestRunListener newListener) {
		if (fTestRunListeners != null) 
			fTestRunListeners.remove(newListener);
	}
	public static boolean isStopped() {
		return fIsStopped;
	}
}