Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Forcing views to construct within a perspective
Forcing views to construct within a perspective [message #464414] Fri, 02 March 2007 09:49
Eclipse UserFriend
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
--
Previous Topic:Close perspective views
Next Topic:KeyBinding
Goto Forum:
  


Current Time: Wed Mar 19 12:44:03 EDT 2025

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

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

Back to the top