1 package org
.argeo
.slc
.client
.rap
;
3 import org
.argeo
.security
.ui
.rap
.RapSecureWorkbenchWindowAdvisor
;
4 import org
.eclipse
.ui
.application
.IWorkbenchWindowConfigurer
;
7 * Configures the initial size and appearance of a workbench window.
9 public class SlcRapSecureWorkbenchWindowAdvisor
extends
10 RapSecureWorkbenchWindowAdvisor
{
12 public SlcRapSecureWorkbenchWindowAdvisor(
13 IWorkbenchWindowConfigurer configurer
) {
17 // Customisation of the main frame can be done here.
19 public void preWindowOpen() {
20 super.preWindowOpen();
22 // IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
23 // configurer.setShowCoolBar(true);
24 // configurer.setShowMenuBar(true);
25 // configurer.setShowStatusLine(false);
26 // configurer.setShowPerspectiveBar(true);
27 // configurer.setTitle("Argeo Secure UI"); //$NON-NLS-1$
28 // // Full screen, see
30 // http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg02697.html
31 // configurer.setShellStyle(SWT.NONE);
32 // Rectangle bounds = Display.getDefault().getBounds();
33 // configurer.setInitialSize(new Point(bounds.width, bounds.height));