ECLIPSE RCP app: view disappears after opening another window
I have 3 views in a window. The first view has content from a tree viewer. The second view has content in FillLayout. Both views get the data from the DB. Once I clic开发者_Go百科k on a link from the second view, I get the new window popping out. But this window looses both first and second views. I don't know what I am missing here. Any insight is highly appreciated.
I think the window you are opening is showing just the views which are not opened in other windows, thats why you see just a single view. You should search for other ways of opening a new window (as far as I know there are many ways and openWorkbenchWindow is just one of them) Have a look here for some help, looks quite similar to your problem.
精彩评论