Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Use Swt Widget for rendering nodes
[Zest] Use Swt Widget for rendering nodes [message #1720270] Fri, 15 January 2016 16:29 Go to next message
Cedric Lu is currently offline Cedric LuFriend
Messages: 1
Registered: January 2016
Junior Member
Hello,

I have a complex editable SWT widget Composite (wrapped in a JFace Viewer) that I'd like to render as node in a Zest graph.
I already tried to use GEF3 but I didn' manage to do it (it seems that draw2d can not draw a SWT widget).

Is it possible to do with Zest based on GEF4?
I saw this project that does not seem to be maintained:
https://wiki.eclipse.org/Efxclipse/SWTonFX
Is someone know if it is even possible?

Regards,
Cedric
Re: [Zest] Use Swt Widget for rendering nodes [message #1720538 is a reply to message #1720270] Tue, 19 January 2016 08:45 Go to previous message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 244
Registered: July 2009
Location: Lünen
Senior Member
We provide an FXControlAdapter (within GEF4 FX.SWT) which can be used to wrap an SWT control into an JavaFX Region (to integrate it into a JavaFX scene graph). It requires that the JavaFX scene is embedded into an FXCanvas. You might take a look into the FX.SWT examples (http://wiki.eclipse.org/GEF/GEF4/FX/Examples#Examples.SWT_.28undeployed.29) to see how it can be used.
Previous Topic:Docking palette of widgets within the editor
Next Topic:[GEF4] geometry intersection not found
Goto Forum:
  


Current Time: Fri Apr 19 19:47:54 GMT 2024

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

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

Back to the top