Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Redirecting to new Page(Redirecting to new Page)
Redirecting to new Page [message #543661] Wed, 30 June 2010 08:52 Go to next message
Yogiraj Mahajan is currently offline Yogiraj Mahajan
Messages: 7
Registered: June 2010
Junior Member
Hi All,

I'm having scenario as after clicking search button the result has to display in different view. As I am new to RCP development,I'm facing problem in redirecting the result to new view. So how to call from button listener to get new view with search result.

Any help in this regard is appreciated.

Thank you,
Re: Redirecting to new Page [message #545761 is a reply to message #543661] Fri, 09 July 2010 00:14 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi,

Try
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().showView(viewId)

This will return the view. You can add an init method to the view to inject
the info you want to show.

Regards,

Wim

> Hi All,
>
> I'm having scenario as after clicking search button the result has to
display in different view. As I am new to RCP development,I'm facing problem
in redirecting the result to new view. So how to call from button listener to
get new view with search result.
>
> Any help in this regard is appreciated.
>
> Thank you,
Previous Topic:How to show build number in the About dialog?
Next Topic:Please help. Debugging updates to my RCP app
Goto Forum:
  


Current Time: Wed Sep 24 04:49:13 GMT 2014

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

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