Bug 213448 [CommonNavigator] Linking open editors with content in Project Explorer not working on restart
On using the project explorer and clicking on the "link with navigator" icon - it links to the editor. However, when closing eclipse and reopening, the link does not automatically activate again, although the editor is open on a specific file. Clicking on the icon again, reactives the link.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/actions/LinkEditorAction.java
private UIJob updateSelectionJob = new UIJob(
			CommonNavigatorMessages.Link_With_Editor_Job_) {
		public IStatus runInUIThread(IProgressMonitor monitor) {
			if (!commonNavigator.getCommonViewer().getControl().isDisposed()) {
				SafeRunner.run(new ISafeRunnable() {
					public void run() throws Exception {
						IWorkbenchPage page = commonNavigator.getSite()
								.getPage();
						if (page != null) {
							IEditorPart editor = page.getActiveEditor();
							if (editor != null) {
								IEditorInput input = editor.getEditorInput();
								IStructuredSelection newSelection = linkService
										.getSelectionFor(input);
								if (!newSelection.isEmpty()) {
									ignoreSelectionChanged = true;
									commonNavigator.selectReveal(newSelection);
									ignoreSelectionChanged = false;
								}
							}
						}
					}
					public void handleException(Throwable e) {
						String msg = e.getMessage() != null ? e.getMessage()
								: e.toString();
						NavigatorPlugin.logError(0, msg, e);
					}
				});
			}
			return Status.OK_STATUS;