|
Re: Hiding and restoring a view in RCP [message #1005457 is a reply to message #1005350] |
Fri, 25 January 2013 14:18 |
John Steele Messages: 50 Registered: January 2010 |
Member |
|
|
Hmmm... Sounds fishy. I just tested your code by placing a break point at the beginning of the createPartControl(Composite parent) method of the View, and it's only called once when it's initially created.
From that point forward createPartControl(Composite parent) is never called again; indicating it's not re-creating the view per activePage.showView(viewIdToToggle) call.
I put another break point in the dispose() method of the View, and sure enough, it's only called once when the platform is shutdown. Again, indicating the view is only disposed once.
Is this a trick question? Or am I misinterpreting the question?
[Updated on: Fri, 25 January 2013 14:20] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03708 seconds