Bug 35107 Show in>doesn't work from synchronize view
1) perform a synchronize in the Java perspective 2) select a resource that has changes and is in the workspace 3) Navigate>Show in>Package Explorer -> beep The problem is that the show in logic doesn't check whether the selection (TeamFile) can be adapted to an IResource. This is a common navigation, i.e., you want to check/edit an affected file. Navigating to the PackageExplorer is already possible from the context menu. The fix is to also check for the IResource adapter when the slection isn't an IJavaElement. I'm tempted to fix it for RC3 since it is a real value add. Dirk - I remember you have complained about this too Kai - please approve if you agree
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public final static String VIEW_ID= JavaUI.ID_PACKAGES;
				
	
	static final String TAG_SELECTION= "selection"; 
	static final String TAG_EXPANDED= "expanded"; 
	static final String TAG_ELEMENT= "element"; 
	static final String TAG_PATH= "path"; 
	static final String TAG_VERTICAL_POSITION= "verticalPosition"; 
	static final String TAG_HORIZONTAL_POSITION= "horizontalPosition"; 
	static final String TAG_FILTERS = "filters"; 
	static final String TAG_FILTER = "filter"; 
	static final String TAG_LAYOUT= "layout"; 
	
	private PackageExplorerContentProvider fContentProvider;
	private FilterUpdater fFilterUpdater;
	
	private PackageExplorerActionGroup fActionSet;
	private ProblemTreeViewer fViewer; 
	private Menu fContextMenu;		
	
	private IMemento fMemento;	
	private ISelectionChangedListener fSelectionListener;
	
	private String fWorkingSetName;
	
	private IPartListener fPartListener= new IPartListener() {
		public void partActivated(IWorkbenchPart part) {
			if (part instanceof IEditorPart)
				editorActivated((IEditorPart) part);
		}