second window configuration [message #524965] |
Sun, 04 April 2010 22:22 |
|
Hi,
I am trying to open a second workbench window. I have tried two methods:
1) PlatformUI.getWorkbench().openWorkbenchWindow("perspectiveII ",null);
this opens a new window, but with the menu bar and cool bar of the main window. How do I configure this window and remove these bars?
2)
Display display = PlatformUI.getWorkbench().getDisplay();
m_shell = new Shell(display, SWT.TITLE | SWT.RESIZE | SWT.CLOSE | SWT.MAX | SWT.MIN);
m_shell.open();
this also opened a new window, but It looks like it is going to be harder to control it without the perspective.
So my questions are:
1) which method is better?
2) If I choose the first method, how do I configure the bars?
Thanks,
Nir
|
|
|
|
Re: second window configuration [message #525110 is a reply to message #525035] |
Mon, 05 April 2010 18:40 |
|
thanks,
I understand from your reply that you recommend working with a shell or any SWT dialog. My application has a table in the workbench window and any double click needs to open a new window, so I may have quit a lot of open windows and I need a solution that will make it easy to control them.
I was looking for advisors for the second window but couldn't find any, which would actually be the perfect solution for my problem.
Thanks,
Nir
|
|
|
|
Powered by
FUDForum. Page generated in 0.02454 seconds