|
|
Re: How to add and remove view from fastview programmatically [message #437018 is a reply to message #436927] |
Tue, 20 September 2005 13:10 |
Eclipse User |
|
|
|
Originally posted by: smatijasevic.gmail.com
Thanks, I found a way to do it.
IWorkbenchPage page =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage();
add view to fastview
((WorkbenchPage)page).addFastView(viewReference);
remove view from fastview
((WorkbenchPage)page).removeFastView(viewReference);
"Alex Blewitt" <alex_blewitt@yahoo.com> wrote in message
news:604069.1127211530696.JavaMail.root@cp1.javalobby.org...
> You have to get into the internals to do this in either case.
> org.eclipse.ui.internal.ViewPane defines two methods; doMakeFast() and
> doRemoveFast() that do the work. The fast view bar is managed by a class
> called FastViewPane, which is inside of a FastViewBar. Not sure if that
> helps, but you'll need to get into the org.eclipse.ui.workbench plugin to
> play around with the internals anyway.
|
|
|
Powered by
FUDForum. Page generated in 0.07592 seconds