Bug 159779 - [EditorMgmt] EditorRegistry throws out external editors when reading when importing
Summary: [EditorMgmt] EditorRegistry throws out external editors when reading when imp...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 159783
  Show dependency tree
 
Reported: 2006-10-04 15:12 EDT by Tod Creasey CLA
Modified: 2019-09-06 15:31 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 Tod Creasey CLA 2006-10-04 15:12:02 EDT
M2

If you import external editors using the preferences import the method readResources(Map editorTable, Reader reader) is called. This method throws out any editor mapping for an editor that is not currently defined (which would be any external editor).

Here is the code that is the issue:

for (int j = 0; j < defaultEditorIds.length; j++) {
  if (defaultEditorIds[j] != null) {
   EditorDescriptor editor = (EditorDescriptor) editorTable
	.get(defaultEditorIds[j]);
   if (editor != null) {
     defaultEditors.add(editor);

the editorTable will not have these editors so they will be lost.
						}
					}
				}
Comment 1 Susan McCourt CLA 2009-07-09 19:09:09 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 2 Boris Bokowski CLA 2009-11-17 13:05:12 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:31:03 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.