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?

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

Back to the top