|PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() [message #494644]
||Sun, 01 November 2009 16:52
| Raffaele Gambelli
Registered: July 2009
I would like to know why sometimes active page is null and so I'm not able to call findView method...
In particular, I would like that some of my views in the same perspective registered as listner to another view for some property changing.
And so, in the createPartControl method of each listner view I call:
Then, if I close my rcp, when restart it, each view that does that call throws nullPointer because activePage is null.
In your opinion, which should be the exact initial moment to get active page for a view?
Thanks in advance and best regards
Powered by FUDForum
. Page generated in 0.15876 seconds