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

Bug 486290

Summary: Pull up functionality from FXTransformPolicy (MVC.FX) to TransformPolicy (MVC)
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 / 3.11.0 (Neon) M5   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-01-21 11:45:05 EST
The FXTransformPolicy (within MVC.FX) mostly consists of JavaFX-independent code. Such parts should be extracted into a (toolkit-independent) TransformPolicy within MVC.

Possibly, the FXTransformProvider can also be pulled up to MVC, and a JavaFX-specific subclass can convert and place the transformation matrix into the node's "transforms" list.
Comment 1 Matthias Wienand CLA 2016-01-25 08:50:43 EST
I created an AbstractTransformPolicy within MVC that contains all JavaFX-independent code from the FXTransformPolicy. Additionally to its super class, the FXTransformPolicy does now only create an operation to change the node transformation, update this operation, and extract the node transformation from its host via a Provider. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.11.0M5.