1 package org
.argeo
.security
.ui
.rcp
;
3 import org
.eclipse
.swt
.SWT
;
4 import org
.eclipse
.swt
.graphics
.Point
;
5 import org
.eclipse
.swt
.graphics
.Rectangle
;
6 import org
.eclipse
.swt
.widgets
.Display
;
7 import org
.eclipse
.ui
.application
.IWorkbenchWindowConfigurer
;
9 public class RapSecureWorkbenchWindowAdvisor
extends
10 SecureWorkbenchWindowAdvisor
{
12 public RapSecureWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer
) {
16 public void preWindowOpen() {
17 IWorkbenchWindowConfigurer configurer
= getWindowConfigurer();
18 // configurer.setInitialSize(new Point(800, 600));
19 configurer
.setShowCoolBar(false);
20 configurer
.setShowMenuBar(true);
21 configurer
.setShowStatusLine(true);
22 configurer
.setShowPerspectiveBar(true);
23 configurer
.setTitle("Argeo Secure UI"); //$NON-NLS-1$
25 // http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg02697.html
26 // configurer.setShellStyle(SWT.NONE);
27 // Rectangle bounds = Display.getDefault().getBounds();
28 // configurer.setInitialSize(new Point(bounds.width, bounds.height));