Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316892

Summary: [MPE] AbstractMultiEditor never has setChildren(*) called
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED INVALID QA Contact: Paul Webster <pwebster>
Severity: normal    
Priority: P3 CC: bokowski, daniel_megert
Version: 3.6   
Target Milestone: 3.7 M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Paul Webster CLA 2010-06-15 08:49:57 EDT
org.eclipse.ui.internal.EditorReference.createPartHelper():
if (part != null && part instanceof MultiEditor) {
multiEditorChildren = manager.openMultiEditor(this,
(AbstractMultiEditor) part, (MultiEditorInput) editorInput);
}

The call to open multi editor inputs is still guarded by the sublcass, even though the method says it takes AbstractMultiEditor.

PW
Comment 1 Paul Webster CLA 2011-01-05 13:06:29 EST
The call turns out to be correct.  MultiEditor get the call early and all other AbstractMultiEditor get the call late.

PW