Bug 88451 - [Navigator] [EditorMgmt] Link with Editor does not work properly with editors not using [I]FileEditorInput
Summary: [Navigator] [EditorMgmt] Link with Editor does not work properly with editors...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 87288
Blocks:
  Show dependency tree
 
Reported: 2005-03-18 08:46 EST by Nick Edgar CLA
Modified: 2019-09-06 16:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2005-03-18 08:46:20 EST
build I20050315

There is a limitation in how the mappings from IFile to an existing open editor
is done (used for Link With Editor in the Navigator).
Previously it was doing:
  page.findEditor(new FileEditorInput(file))
Now, in addition to this, it iterates over the editors checking whether:
  file.equals(ResourceUtil.getFile(editor.getEditorInput());

However, in order to avoid forcing materialization of editors restored from the
previous session, it skips those that haven't been materialized.

So for IFile-based editors not using [I]FileEditorInput, editor linking will not
work properly for unmaterialized editors.
I don't see a better approach to this at this time.

See bug 87288 for more background.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:14:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.