Bug 9570 [Java Browsing] Types View not updated on deletion
1) Select a method in a type, i.e. all viewers are populated, editor is visible 2) Deactivate linking between active editor and navigator in workbench preferences 3) Deactivate auto build 3) Prespective>Show View>Navigator 4) Pin Navigator 5) Select the file of the previously selected method 6) Context Menu>Delete -> Method View flushed, Editor closed -> Type still visible in Types View ->Selecting Type possible and results in small red square in Methods View
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* @return	<true> if the given element is a valid input
	 */
	protected Set getInputFromSelection(ISelection selection) {
		if (!(selection instanceof IStructuredSelection))
			return Collections.EMPTY_SET;
		Set elements= new HashSet();
		Iterator iter= ((IStructuredSelection)selection).iterator();
		while (iter.hasNext()) {
			IJavaElement element= getSuitableJavaElement(iter.next());
			if (!isValidInput(element))
				return Collections.EMPTY_SET;
			elements.add(element);
		}
		return elements;
	}
	protected void setInput(Object input) {
		if (input == null)
			setTitleImage(fOriginalTitleImage);
		else if (input instanceof Collection) {
			if (((Collection)input).isEmpty())
				setTitleImage(fOriginalTitleImage);
			else {
				Object firstElement= ((Collection)input).iterator().next();
				setTitleImage(fTitleProvider.getImage(firstElement));
			}
		} else
			setTitleImage(fTitleProvider.getImage(input));
		setViewerInput(input);
	}
	private void setViewerInput(Object input) {