Bug 9571 [Java Browsing] Views not updated when folder of package is deleted
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 folder containing the file of the previously selected method 6) Context Menu>Delete -> Editor closed -> Package, type, and method still visible in their views -> Selecting package possible and results in flushing Types View
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaElementContentProvider.java
private StructuredViewer fViewer;
	private Object fInput;
	private JavaBrowsingPart fBrowsingPart;
	
	public JavaElementContentProvider(boolean provideMembers, JavaBrowsingPart browsingPart) {
		super(provideMembers, false);
		fBrowsingPart= browsingPart;
		fViewer= fBrowsingPart.getViewer();
	}
	public Object[] getChildren(Object element) {
		if (!exists(element))
			return NO_CHILDREN;
			
		try {
			if (element instanceof Collection) {
				Collection elements= (Collection)element;
				if (elements.isEmpty())
					return NO_CHILDREN;
				Object[] result= new Object[0];
				Iterator iter= ((Collection)element).iterator();
				while (iter.hasNext()) {
					Object[] children= getChildren(iter.next());
					if (children != NO_CHILDREN)
						result= concatenate(result, children);
				}
				return result;
			}