Bug 9940 Request: decorators in java browsing views
Feature request. I'd like the decorators (the team decorators in particular <g>) to appear in the Java browsing views when turned on.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
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) {
		fProcessSelectionEvents= false;
		fViewer.setInput(input);
		fProcessSelectionEvents= true;
	}