Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » primary stage vs window stages?
primary stage vs window stages? [message #1186279] Thu, 14 November 2013 15:53 Go to next message
Bernhard Dorninger is currently offline Bernhard DorningerFriend
Messages: 6
Registered: July 2009
Junior Member
Hi efxclipse community..

I have got a question concerning the stage objects in org.eclipse.fx:

E4Application.createE4workbench: adds the primaryStage to the top level eclipse context
It appears, this stage is never shown?

Windows in the e4xmi model are rendered with a Window renderers, which also create stage objects. DefWindowrenderer.WWindowImpl.createWidget does this and adds the stage to the window's Eclipse context. This stage is shown, when the window is made visible

What's the point of having the primary stage being in the context if its never used? Just being a dummy?

Thx for some enlightenment,
Bernhard
Re: primary stage vs window stages? [message #1186286 is a reply to message #1186279] Thu, 14 November 2013 15:56 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Yes as of today it is only a dummy and not used. Treat it as it is not
in the context. I've put it there because was not sure if I'll need it
in the IPresentationEngine.

Tom

On 14.11.13 16:53, Bernhard Dorninger wrote:
> Hi efxclipse community..
>
> I have got a question concerning the stage objects in org.eclipse.fx:
>
> E4Application.createE4workbench: adds the primaryStage to the top level
> eclipse context
> It appears, this stage is never shown?
>
> Windows in the e4xmi model are rendered with a Window renderers, which
> also create stage objects. DefWindowrenderer.WWindowImpl.createWidget
> does this and adds the stage to the window's Eclipse context. This stage
> is shown, when the window is made visible
>
> What's the point of having the primary stage being in the context if its
> never used? Just being a dummy?
> Thx for some enlightenment,
> Bernhard
Re: primary stage vs window stages? [message #1186348 is a reply to message #1186286] Thu, 14 November 2013 16:52 Go to previous message
Bernhard Dorninger is currently offline Bernhard DorningerFriend
Messages: 6
Registered: July 2009
Junior Member
Thanx, Tom
Previous Topic:JDK8b115 has a major regression skip it!
Next Topic:Menu/Menu item visible checkbox not work?
Goto Forum:
  


Current Time: Fri Apr 26 06:08:39 GMT 2024

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

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

Back to the top