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/actions/LinkEditorAction.java
setToolTipText(CommonNavigatorMessages.LinkEditorActionDelegate_1);
		commonNavigator = aNavigator;
		commonViewer = aViewer;
		contentService = (NavigatorContentService) aViewer
				.getNavigatorContentService();
		linkService = new LinkHelperService(contentService);
		init();
	}
	/**
	 * @see org.eclipse.ui.IViewActionDelegate#init(org.eclipse.ui.IViewPart)
	 */
	protected void init() {
		partListener = new IPartListener() {
			public void partActivated(IWorkbenchPart part) {
				if (part instanceof IEditorPart) {
					updateSelectionJob.schedule(BRIEF_DELAY);
				}
			}
			public void partBroughtToTop(IWorkbenchPart part) {
				if (part instanceof IEditorPart) {
					updateSelectionJob.schedule(BRIEF_DELAY);
				}
			}
			public void partClosed(IWorkbenchPart part) {
			}
			public void partDeactivated(IWorkbenchPart part) {
			}
			public void partOpened(IWorkbenchPart part) {
			}
		};