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/internal/navigator/extensions/NavigatorContentDescriptorManager.java
int initialSize = theFoundDescriptors.size();
		NavigatorContentDescriptor descriptor;
		
		for (Iterator contentDescriptorsItr = theChildDescriptors.iterator(); contentDescriptorsItr
				.hasNext();) {
			descriptor = (NavigatorContentDescriptor) contentDescriptorsItr
					.next();
			boolean isApplicable = aVisibilityAssistant.isActive(descriptor)
					&& aVisibilityAssistant.isVisible(descriptor)
					&& descriptor.isPossibleChild(anElement);
			if (descriptor.hasOverridingExtensions()) {
				boolean isOverridden = addDescriptorsForPossibleChild(
						anElement, descriptor.getOverriddingExtensions(),
						aVisibilityAssistant, theFoundDescriptors);
				if (!isOverridden && isApplicable) {
					theFoundDescriptors.add(descriptor);
				}
			} else if (isApplicable) {
				theFoundDescriptors.add(descriptor);
			}
		}
		return initialSize < theFoundDescriptors.size();
	}
	/**
	 * Returns the navigator content descriptor with the given id.
	 * 
	 * @param id
	 *            The id of the content descriptor that should be returned
	 * @return The content descriptor of the given id
	 */