[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: RCP Kiosk mode

Well - actually it's quite trivial:

All you need is in your WorkbenchWindowAdvisor implementation preWindowOpen set window shell style to SWT.NO_TRIM like this:
[===CODE STARTS]
void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setShellStyle(SWT.NO_TRIM);
}
[===CODE ENDS]


and in postWindowCreate simply maximize the window like this:
[===CODE STARTS]
public void postWindowCreate() {
   Shell shell = getWindowConfigurer().getWindow().getShell();
   shell.setMaximized(true)
}
[===CODE ENDS]


Olivier Ziller kirjutas mulle midagi seesugust:
hello,

i have to address exactly the same problem (creating a kiosk application)
if you find any solution, could you post them in the newsgroup?

regards

Thys Meintjes a écrit :
Hi All,

I want to use RCP to create a kiosk application, that is a full screen login view with nice big buttons on a touchscreen. System lock down is not that important at this stage, but will be.

I suspect IWorkbenchWindowConfigurer's setShellStyle() may help me.

How do I force a RCP full screen.

Thanks and regards

-- Roland Tepp