[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[ews.eclipse.technology.rap] Re: RAP example, looking like a website
|
Hi Alex,
what exactly do you want to do? Hiding the bar of the main shell and the
menu bar can be achieved by some lines of code in your implementation of the
WorkbenchWindowAdvisor.
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
// Hide shell title bar
configurer.setShellStyle(SWT.NONE);
configurer.setShowStatusLine(false);
configurer.setShowMenuBar(false);
}
@Override
public void postWindowOpen(){
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
// set maximum shell bounds to current size of display (maximizes
main window)
configurer.getWindow().getShell().setMaximized(true);
}
For theming, take a look at the RAP wiki:
http://wiki.eclipse.org/RAP_Theming
Regards,
Stefan.
"Alexander Forschner" <alexander.forschner@xxxxxxxxxx> schrieb im
Newsbeitrag news:fentor$sbg$1@xxxxxxxxxxxxxxxxxxxx
> Hi there.
>
> Some weeks ago, I found some examples on the web, showing how to create
> websites with RAP, but hiding RAP (startingin fullscreen, theming, etc.).
>
> Does anyone know, where to find these pages? I've searched google,
> www.innoopract.com and www.eclipse.org/rap several times, but I can't find
> the sites.
>
> Greets.
> Alex