Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362085 - Outline not available when placed in the shared view
Summary: Outline not available when placed in the shared view
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 11:03 EDT by Dean Roberts CLA
Modified: 2011-11-18 11:21 EST (History)
3 users (show)

See Also:


Attachments

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