I want to fixed the workbench and appear the weclome page everytime full screen.
But when I call the method layout.setfixed(true)
in the Class Perspective the welcom page can't be full screen.
I want to fixed the workbench and appear the weclome page everytime full screen.
But when I call the method layout.setfixed(true)
in the Class Perspective the welcom page can't be full screen.
To open in full screen, following code in postWindowOpen()
method of WorkbenchWindowAdvisor
class can be used
getWindowConfigurer().getWindow().getShell().setMaximized( true );
You could do this in the preWindowOpen-method of the WorkbenchWindowAdvisor:
public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
...
public void preWindowOpen() {
...
PlatformUI.getPreferenceStore()
.setValue(IWorkbenchPreferenceConstants.SHOW_INTRO, true);
}
This will show the welcome page everytime in full screen size when the application is started.