| Restructuring the layout [message #329710] | 
Tue, 01 July 2008 12:01  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: prasad.chand.gmail.com 
 
Hi All, 
 
I am facing a problem in restructuring the layout. I have made a couple  
of actions and views in my RCP app. I would like to change the layout of  
the views based on the actions that the user activates. 
 
One solution is to create a new perspective and hardcode the desired  
layout (in createInitialLayout() in the perspective factory) based on  
the action (this seems a better idea as only one action requires layout  
restructuring). 
 
But I was wondering is there any other way to programmatically change  
the layout by getting an instance of IPageLayout or something of that  
order. 
 
Thanks in advance, 
Prasad
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03183 seconds