Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 441463

Summary: Ensure that SwtFXControlAdapter can work with Scene, not just SwtFXScene.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF FXAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.10.0 (Mars) M1   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2014-08-10 07:10:24 EDT
The need for a special SwtFXScene implementation to enable our SwtFXControlAdapter is quite nasty. We should ensure the control adapter can work with an arbitrary Scene.
Comment 1 Alexander Nyßen CLA 2014-08-10 07:16:31 EDT
- Changed the implementation of SwtFXControlAdapter so that it can work with any Scene, as long as its embedded into an FXCanvas. The canvas is obtained from the HostContainer (via private member access to 'this$0') of the Window containing the scene.
- Removed SwtFXScene and made FXCanvas use Scene instead.
- Adjusted SwtFX examples as well as usages within MVC.FX.UI to no longer use SwtFXScene.

All changes committed to origin/master. Resolving as fixed in 3.10.0M1.
Comment 2 Alexander Nyßen CLA 2014-08-11 16:29:29 EDT
Change component to FX, as SwtFX is succeeded by FX.UI.