Link19
Link19

Reputation: 606

Launch Eclipse 3.x RCP Application with Window Maximized?

Is this possible, I can't seem to find a way to do it.

Upvotes: 1

Views: 998

Answers (1)

sambi reddy
sambi reddy

Reputation: 3085

You need to set Shell state to Maximized. This should work.

WorkbenchWindowAdvisor.postWindowOpen()
{
    getWindowConfigurer().getWindow().getShell().setMaximized(maximized)
}

There is also way to set Shell to full screen.

Shell.class
public void setFullScreen (boolean fullScreen)

Upvotes: 9

Related Questions