Programmatically switching to a view [message #247497] |
Wed, 05 September 2007 22:55 |
Eclipse User |
|
|
|
Originally posted by: Rudolf.Ziegaus.gmx.de
Hello,
I am working on a plugin which provides a view (similar to the search
view). When you search something in the workspace and the view "Search" has
not the focus (e. g. is not activated) the performing the search will cause
the view "Search" to be activated.
In my plugin I want to provide the same functionality. What is the best way
to implement this?
Thanks a lot,
Rudi
|
|
|
Re: Programmatically switching to a view [message #247502 is a reply to message #247497] |
Wed, 05 September 2007 23:43 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Rudi,
Probably you want to use IWorkbenchPage.showView with the ID of your view.
Rudolf Ziegaus wrote:
> Hello,
>
> I am working on a plugin which provides a view (similar to the search
> view). When you search something in the workspace and the view "Search" has
> not the focus (e. g. is not activated) the performing the search will cause
> the view "Search" to be activated.
> In my plugin I want to provide the same functionality. What is the best way
> to implement this?
>
> Thanks a lot,
>
> Rudi
>
|
|
|
Re: Programmatically switching to a view [message #247548 is a reply to message #247502] |
Thu, 06 September 2007 21:36 |
Eclipse User |
|
|
|
Originally posted by: Rudolf.Ziegaus.gmx.de
Am Wed, 05 Sep 2007 19:43:18 -0400 schrieb Ed Merks:
> Rudi,
>
> Probably you want to use IWorkbenchPage.showView with the ID of your view.
>
>
> Rudolf Ziegaus wrote:
Hello Ed,
thanks very much, works like a charm;-)
Rudi
|
|
|
Powered by
FUDForum. Page generated in 0.03205 seconds