How to show view in Action.run( ) [message #327986] |
Mon, 12 May 2008 00:39  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03638 seconds