Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » how to build the window like RAP Workbench Demo online?
how to build the window like RAP Workbench Demo online? [message #97645] Fri, 11 July 2008 07:47 Go to next message
CAO Dahai is currently offline CAO DahaiFriend
Messages: 16
Registered: July 2009
Junior Member
hi, I build my RAP Workbench application in Eclipse IDE. But i hope to
develop the application that can cover all the page of IE like RAP
Workbench Demo online, and the main application window has not title bar
and minimize button and maximize button and close button.
Which attribute should I setting? and Which interface should I use?
Re: how to build the window like RAP Workbench Demo online? [message #97661 is a reply to message #97645] Fri, 11 July 2008 07:53 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
If you just ignore RCP with all of its IWorkbench stuff, you can just
create a new Shell in your entry point. By default there aren't such
things that you're writing about.


Dahai Cao wrote:
> hi, I build my RAP Workbench application in Eclipse IDE. But i hope to
> develop the application that can cover all the page of IE like RAP
> Workbench Demo online, and the main application window has not title bar
> and minimize button and maximize button and close button. Which
> attribute should I setting? and Which interface should I use?
Re: how to build the window like RAP Workbench Demo online? [message #97676 is a reply to message #97645] Fri, 11 July 2008 08:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Dahai,

Dahai Cao wrote:
> hi, I build my RAP Workbench application in Eclipse IDE. But i hope to
> develop the application that can cover all the page of IE like RAP
> Workbench Demo online, and the main application window has not title bar
> and minimize button and maximize button and close button. Which
> attribute should I setting? and Which interface should I use?

It's explained here:
http://rapblog.innoopract.com/2007/11/hiding-window-in-rap-a pplications-one.html

Ralf
Re: how to build the window like RAP Workbench Demo online? [message #97687 is a reply to message #97676] Fri, 11 July 2008 08:39 Go to previous messageGo to next message
CAO Dahai is currently offline CAO DahaiFriend
Messages: 16
Registered: July 2009
Junior Member
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
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Theme
Next Topic:How to open new view through
Goto Forum:
  


Current Time: Tue Sep 24 12:49:29 GMT 2024

Powered by FUDForum. Page generated in 0.26909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top