[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Show view in Action.run( )

Can you make this a small test case and post your code so we can see what's going on?

Ben Smith wrote:
Hi Alles,

I am new and wondering whether I could get help here. I have an Action. I want that by Clicking it would cause several instances of a View to show. However, using IWorkbenchPage.showView(...) did not show the view content (e.g., a label or an image). The program seemed to skip it and continue to run the code after the showView() statement (e.g., System.out.println(...) or Thread.sleep(...)). If I inserted a MessageBox after the showView() statement. The IWorkbenchPage.showView() then displayed the view. Why do I need a MessageBox to have the view shown? Can I show the view without the MessageBox? Any help please?

Ben