|
Re: Programmatically add a view to a folder [message #287950 is a reply to message #287781] |
Fri, 08 July 2005 19:51 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mikeh59.iname.com
A colleague of mine stumbled upon the solution looking at the Eclipse code.
Use addPlaceholder on the IPageLayout to add a placeholder for a view id of
"<viewID>:*". I eventually found the bug fix that incorporated this in
release 3.0. I also found the bug fix that updated the JavaDoc - but not
until 3.1RC2. Unfortunately, I had only checked the 3.0.2 documentation.
Regards,
Mike Higginbotham
<higginmi@us.ibm.com> wrote in message news:dahkpo$mfb$1@news.eclipse.org...
>I have a perspective that includes several standalone views and a folder.
> In IPerspectiveFactory#createInitialLayout I add a view to the folder
> using addView. As a result of later user input, I need to add another view
> to the folder. How do I get access to the folder in order to do that?
|
|
|
Powered by
FUDForum. Page generated in 0.03401 seconds