Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How can i Pass Command parameters in a View before it is opened(I am trying to open a view using page.showView from a handler.)
How can i Pass Command parameters in a View before it is opened [message #646368] Thu, 23 December 2010 09:48 Go to next message
Eclipse UserFriend
In the execute method of my handler, i want to open a view using page.showView().
I want to use the command parameter values to paint the view.
How can i pass the command parameters to the view before it is opened?
Thanks,
Saurabh
Re: How can i Pass Command parameters in a View before it is opened [message #646374 is a reply to message #646368] Thu, 23 December 2010 10:05 Go to previous message
Eclipse UserFriend
On 23/12/10 8:18 PM, Saurabh wrote:
> In the execute method of my handler, i want to open a view using
> page.showView(). I want to use the command parameter values to paint the
> view.
> How can i pass the command parameters to the view before it is opened?
> Thanks,
> Saurabh


AFAIK, there isn't a direct API. But you can always workaround with
stuff like having some static variable in a class, which is set in the
parameter and accessed in the view's constructor/setVisible methods

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Previous Topic:Loading Perspective Problem
Next Topic:RCP PDF Editor
Goto Forum:
  


Current Time: Tue Jul 22 18:36:25 EDT 2025

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

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

Back to the top