Summary: | [DetachedView] Allow tear-off views to be displayed in an Inspector window | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Alex Blewitt <alex.blewitt> | ||||||||
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||||||
Status: | ASSIGNED --- | QA Contact: | |||||||||
Severity: | enhancement | ||||||||||
Priority: | P3 | CC: | andre_weinand, bill, cmlenz, steve_northover | ||||||||
Version: | 3.0 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | Macintosh | ||||||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||||||
Whiteboard: | |||||||||||
Bug Depends on: | 77174, 78041 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
Alex Blewitt
2004-03-30 13:53:27 EST
Quick clarification...Has tear-off window support been added to Eclipse on Windows? If so, what SWT control is used to implement? What is the underlying Win32 API that is leveraged? Can we get a Windows screenshot of the desired behavior? Created attachment 20008 [details]
Before draging the view off the main window
Created attachment 20010 [details]
After draging off the main window it becomes like a tool window
Sorry about the file size I only have mspaint on this computer :-/
Looks like we got the attention of apple. Hi, guys. :-) Tear-off support has been in Eclipse since 3.0. We currently use a regular SWT Shell with no trim. The contents of the detached window are filled by reparenting an SWT Composite that contains everything we need (using Composite.setParent(...)). The big blocker for detached support on the Mac is bug 78041. Correction -- I should have said the blocker is bug 89051. Created attachment 20020 [details]
Screenshot of a detached window on windows
FYI, here's what a detached window looks like on Windows XP (all the OS trim is
turned off -- the whole region is filled with the Eclipse tab folder).
Hi Stefan. Engineering does not believe Eclipse is blocked from doing this on the Mac. One can create inspector windows (kFloatingWindowClass) and views can be embedded into them or moved into them (with HIViewAddSubview or EmbedControl). Let us know if you have questions. It's all greek to me. Eclipse is programmed in Java, so SWT shields me from most of that icky platform-specific stuff. Steve should be able to decipher it, though. :-) Yes, it is possible to reparent on the Mac. We just haven't had the time to write the code. NOTE: Reparenting is much more work than just making the operating system calls, although the operating system support needs to be there for us to be in the game. Any progress on this? If someone will point me in the right direction I'll try to fix this my self (I find it quite irritating) See bug 77174. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |