Bug 139511 [CommonNavigator] getParent() fails in certain cases
In the implementation of getParents(), clients can sometimes fail to return the correct parent with the override cases taken into account. The attached patch fixes these issues, but should be reviewed by the Team Team to ensure that it does not cause any regressions for their cases.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonNavigator.java
* necessary.
	 * </p>
	 * 
	 * 
	 * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	public void createPartControl(Composite aParent) {
		commonViewer = createCommonViewer(aParent);	
		INavigatorFilterService filterService = commonViewer
				.getNavigatorContentService().getFilterService();
		ViewerFilter[] visibleFilters = filterService.getVisibleFilters(true);
		for (int i = 0; i < visibleFilters.length; i++) {
			commonViewer.addFilter(visibleFilters[i]);
		}
		commonViewer.setSorter(new CommonViewerSorter());
		/*
		 * make sure input is set after sorters and filters to avoid unnecessary
		 * refreshes
		 */
		commonViewer.setInput(getInitialInput());
		commonViewer.getControl().addDisposeListener(createDisposeListener());
		getSite().setSelectionProvider(commonViewer);
		updateTitle();
		/*
		 * Create the CommonNavigatorManager last because information about the
		 * state of the CommonNavigator is required for the initialization of
		 * the CommonNavigatorManager
		 */
		commonManager = createCommonManager();
		if (memento != null) {