[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] views are not initialized on startup
|
the problem that i have is that the views i'm creating are not initialized on startup until i click on them. so my question is how do i initialize all views (tabs) right on startup?
the tabs that are immediately visible on workspace are initialized but not those that are placed behind them. let me try to explain this a little bit better.
say i'm creating two views 1) "nav" 2) "table"
on Perspective.java that implements IPerspectiveFactory they are placed as following:
IFolderLayout folder = layout.createFolder("folderNavigator", IPageLayout.LEFT, 0.25f, layout.getEditorArea());
folder.addView(Nav.ID);
folder.addView(Table.ID);
this way the tab "nav" is immediately visible on startup and the other tab "table" (since it's behind "nav") is not.
since those tabs that are behind the first one are not initialed they also won't register as selectionListener until i click on them for the first time.
thanks for any help.