01: package net.refractions.udig.internal.ui;
02:
03: import org.eclipse.swt.graphics.Point;
04: import org.eclipse.swt.graphics.Rectangle;
05: import org.eclipse.swt.widgets.Display;
06: import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
07:
08: import net.refractions.udig.ui.WorkbenchConfiguration;
09:
10: public class UDIGWorkbenchConfiguration implements
11: WorkbenchConfiguration {
12:
13: public void configureWorkbench(IWorkbenchWindowConfigurer configurer) {
14: configurer.setShowProgressIndicator(true);
15: // Rectangle bounds = Display.getDefault().getPrimaryMonitor().getClientArea();
16: configurer.setInitialSize(new Point(1024, 768));
17: // configurer.setInitialSize(new Point(bounds.width, bounds.height));
18:
19: // configurer.setShowPerspectiveBar( true );
20: configurer.setShowCoolBar(true);
21: configurer.setShowStatusLine(true);
22: configurer.setShowFastViewBars(true);
23: }
24:
25: }
|