开发者

ECLIPSE RCP app: view disappears after opening another window

开发者 https://www.devze.com 2023-03-30 18:59 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消