Bug 105034 [WorkbenchParts] IWorkbenchPage#hideView(IViewPart) does not always dispose of the view any more
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/browsing/MockPluginView.java
}
	
	/**
	 * Returns true if an add action happened on the viewer
	 * @return boolean
	 */
	public boolean hasAddHappened() {
		return fAddHappened;
	}
	private class TestProblemTreeViewer extends ProblemTreeViewer {
		public TestProblemTreeViewer(Composite parent, int flag) {
			super(parent, flag);
			super.setUseHashlookup(true);
		}
		public void refresh(Object object) {
			fRefreshHappened= true;
			fRefreshedObject.add(object);
		}
		public void remove(Object object) {
			fRemoveHappened= true;
			fRemovedObject.add(object);
		}
		public void add(Object parentObject, Object object) {
			fAddHappened= true;
			fAddedObject.add(object);
			fAddedParentObject.add(parentObject);
		}
	}
	
	private class TestProblemTableViewer extends ProblemTableViewer {