Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Standalone JavaFX example in EAVP?

Thanks Robert,

Do you have an small example of a Controller lying around or could you create one if you have a few spare minutes?

Jay

On Fri, Feb 26, 2016 at 10:19 AM, Smith, Robert W. <smithrw@xxxxxxxx> wrote:

Jay,


It should be very easy. The FXGeometryVizService accepts an IController when creating its canvas. ICE classes like GeometryComponent just manage the root IController. Assuming that you have your IController ready, you can draw a Geometry Editor in an arbitrary SWT composite by simply doing:

 

IVizCanvas canvas = service.createCanvas(someController);

canvas.draw(someComposite);


Robert


From: ice-dev-bounces@xxxxxxxxxxx <ice-dev-bounces@xxxxxxxxxxx> on behalf of Jay Jay Billings <jayjaybillings@xxxxxxxxx>
Sent: Friday, February 26, 2016 10:12 AM
To: ice developer discussions; Håvard Heierli-Nesse
Subject: [ice-dev] Standalone JavaFX example in EAVP?
 
Robert,

How hard do you think it would be to put together a standalone example using EAVP that doesn't use ICE Items? Havard and I have been chatting in another thread about it. We would like to put together a little plugin that reads some description of a geometry and loads it into the JavaFXVizService.

We can talk more about this in person if you want.

Jay

--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev



--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

Back to the top