Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329562 - [Compatibility] Plug-in Spy does not find information about active shell
Summary: [Compatibility] Plug-in Spy does not find information about active shell
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 RC3   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 12:35 EDT by Remy Suen CLA
Modified: 2011-05-25 07:54 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 Remy Suen CLA 2010-11-05 12:35:14 EDT
There is no "Active Shell" section when you hit Alt+Shift+F1 in the 4.x SDK.
Comment 1 Remy Suen CLA 2010-11-05 12:40:11 EDT
The code relies on the return value of the shell's getData() method.

In 3.x, a workbench window would return org.eclipse.ui.internal.WorkbenchWindow and a detached window would return org.eclipse.ui.internal.DetachedWindow.
Comment 2 Remy Suen CLA 2011-05-16 11:17:35 EDT
(In reply to comment #1)
> In 3.x, a workbench window would return org.eclipse.ui.internal.WorkbenchWindow
> and a detached window would return org.eclipse.ui.internal.DetachedWindow.

Fixed in CVS HEAD. Detached windows won't get anything. This is an accurate representation as it is not backed by anything in org.eclipse.ui.workbench.
Comment 3 Remy Suen CLA 2011-05-25 07:54:32 EDT
Verified with I20110524-2200 on Windows XP.