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

Bug 362085

Summary: Outline not available when placed in the shared view
Product: [Eclipse Project] Platform Reporter: Dean Roberts <dean.t.roberts>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, pwebster, remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Dean Roberts CLA 2011-10-26 11:03:50 EDT
This is an odd thing to do, and this particular use case is likely not valid.  But it may indicate we need to do some thinking about selection?

1) Open a couple of java classes
2) Drag the Outline into the shared area
3) Select the Outline view

Notice that the view always says "An outline is not available".  I'm guessing the Outline view is using the active part to determine which outline to show.  But of course, in the shared area when it is displayed it is the active part.
Comment 1 Paul Webster CLA 2011-11-02 14:22:11 EDT
The shared area is probably not able to provide an activeEditor since its selected child is a view MPart (well, probably a shared ref of some kind).

PW
Comment 2 Remy Suen CLA 2011-11-02 14:29:50 EDT
(In reply to comment #1)
> The shared area is probably not able to provide an activeEditor since its
> selected child is a view MPart (well, probably a shared ref of some kind).

Yes, there is no active editor from the shared area because its active part is a view. That being said, if you have an editor outside the shared area and it is visible (the selected element of a part stack) and you have your 'Outline' view in the shared area, the 'Outline' view will reflect the contents of said editor that is outside the shared area.

Personally I don't see an issue here.
Comment 3 Remy Suen CLA 2011-11-18 11:21:39 EST
Closing per comment 2. This is working as designed.