Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316892 - [MPE] AbstractMultiEditor never has setChildren(*) called
Summary: [MPE] AbstractMultiEditor never has setChildren(*) called
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Paul Webster CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 08:49 EDT by Paul Webster CLA
Modified: 2011-01-05 13:06 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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