Skip to main content



      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 04:52 Go to next message
Eclipse UserFriend
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] Thu, 08 July 2010 20:14 Go to previous message
Eclipse UserFriend
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 Jul 23 00:59:06 EDT 2025

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

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

Back to the top