Forcing views to construct within a perspective [message #464414] |
Fri, 02 March 2007 09:49 |
Eclipse User |
|
|
|
Originally posted by: mgenovese.austin.rr.com
In the method createInitialLayout(IPageLayout layout) for a perspective,
I define several views, some of which are in a folder (IFolderLayout).
I'm noticing for views in folders, if the view is not shown when the
perspective is created, the constructor of that view does not execute.
This is causing a problem for me because I need all views' constructors
to execute when the perspective is created.
Is this a bug, or on purpose? Either way, what's the best way to force
all views in a perspective to construct when the createInitialLayout()
method is called? I have some views that need to register themselves
with my own manager classes, if they never construct, they're never
registered.
Thanks for any help. Cheers,
Matt
--
|
|
|
Powered by
FUDForum. Page generated in 0.02821 seconds