Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Programmatically switching to a view
Programmatically switching to a view [message #247497] Wed, 05 September 2007 22:55 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:What preference controls compile warning about @Override
Next Topic:Logging
Goto Forum:
  


Current Time: Wed Jan 15 06:58:28 GMT 2025

Powered by FUDForum. Page generated in 0.03205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top