Bug 58931 - [Perspectives] [Doc] IPageLayout.createFolder() shows grey area if view allocated is not opened
Summary: [Perspectives] [Doc] IPageLayout.createFolder() shows grey area if view alloc...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: faq
: 88589 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-16 16:21 EDT by Eugene Chan CLA
Modified: 2022-01-16 15:00 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 Eugene Chan CLA 2004-04-16 16:21:37 EDT
I am working on initializing a perspective and encounter problem when tried to 
IPageLayout.createFolder() and addPlaceHolder to the IFolderLayout created. The 
place holder is taking up space in the perspective and show a grey area. 
However, if I tried calling addView instead of addPlaceHolder, and manually 
close the view in perspective, there is no grey area in the perspective.

With the help of Nick Edgar, I was told to try 
IPageLayout.createPlaceholderFolder instead, and problem is solved. But the 
above coding should not show grey area.

Either the Javadoc or the Platform Plugin Developer Guide (under Help > Help 
Contents) address this issue directly,  nor illustrated via SWT-like code 
snippets. More documentaion is required.

Please let me know if you need further information. Thanks
Comment 1 Nick Edgar CLA 2004-04-16 16:31:55 EDT
The folder created by createFolder should only appear if it contains an actual
view, not just placeholders.  If it contains only placeholders then it should
act like a placeholder folder.
Comment 2 Nick Edgar CLA 2005-03-29 12:14:42 EST
*** Bug 88589 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2006-03-15 11:46:48 EST
Reassigning bugs in component areas that are changing ownership.
Comment 4 Paul Webster CLA 2006-09-28 15:13:25 EDT
Is this still a problem in 3.3?

PW
Comment 5 Denis Roy CLA 2007-06-22 09:32:37 EDT
Changes requested on bug 193523
Comment 6 Eclipse Webmaster CLA 2019-09-06 15:30:33 EDT
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.
Comment 7 Eclipse Genie CLA 2022-01-16 15:00:20 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.