I want to restrict the window size of an RCP app from resizing.
So in prewindowopen
of ApplicationWorkbenchWindowAdvisor
class I tried
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setShellStyle(SWT.CLOSE | SWT.MIN | SWT.MODELESS | SWT.BORDER | SWT.TITLE);
But it does not seem to have any effect on the window. When I tried the same things in a dialog this seems to work. Any clue on this will really help.
This looks like Eclipse bug 432501 which is saying the setShellStyle
is being ignored in Eclipse 4. There is currently no fix for this.