|
|
|
|
Re: how to build the window like RAP Workbench Demo online? [message #97815 is a reply to message #97687] |
Fri, 11 July 2008 20:23 |
Eclipse User |
|
|
|
Originally posted by: sarek.nurfuerspam.de
Hi,
basically it's adding the following lines in your WorkbenchWindowAdvisor
class. This snippet is taken from Elias' blog named above ...
> public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
>
> // ...
>
> public void preWindowOpen() {
> // ...
> getWindowConfigurer().setShellStyle( SWT.NO_TRIM );
> getWindowConfigurer().setShowMenuBar( false );
> }
>
> public void postWindowCreate() {
> Shell shell = getWindowConfigurer().getWindow().getShell();
> shell.setMaximized( true );
> }
> }
Hope it helps
Christian
Dahai Cao schrieb:
> Thank you for answer me.
>
> but I can not explore the URL:
> http://rapblog.innoopract.com/2007/11/hiding-window-in-rap-a pplications-one.html
>
>
> How can I access it? Need I register or log on?
>
> Dahai Cao
--
To reply to this posting directly use the following address and
remove the 'NO-SPAM' part: Riedel.Christian.NO-SPAM@gmx.net
|
|
|
Powered by
FUDForum. Page generated in 0.26909 seconds