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
public IStatus runInUIThread(IProgressMonitor monitor) {
			if (!commonViewer.getControl().isDisposed()) {
				ISelection selection = commonViewer.getSelection();
				if (selection != null && !selection.isEmpty()
						&& selection instanceof IStructuredSelection) {
					final IStructuredSelection sSelection = (IStructuredSelection) selection;
					if (sSelection.size() == 1) {
						final ILinkHelper[] helpers = linkService
								.getLinkHelpersFor(sSelection.getFirstElement());
						if (helpers.length > 0) {
							ignoreEditorActivation = true;
							SafeRunner.run(new ISafeRunnable() {
								public void run() throws Exception {
									helpers[0].activateEditor(commonNavigator.getSite()
											.getPage(), sSelection);
								}
								public void handleException(Throwable e) {
									String msg = e.getMessage() != null ? e.getMessage()
											: e.toString();
									NavigatorPlugin.logError(0, msg, e);
								}
							});
							ignoreEditorActivation = false;
						}
					}
				}
			}
			return Status.OK_STATUS;
		}
	};