GEF/New and Noteworthy/3.10.1
- New and Noteworthy in 3.0
- New and Noteworthy in 3.5
- New and Noteworthy in 3.6
- New and Noteworthy in 3.7
- New and Noteworthy in 3.8
- New and Noteworthy in 3.9
- New and Noteworthy in 3.10
The GEF 3.10.1 (Mars SR1) release provides service releases for the production components Draw2d 3.x (3.10.1), GEF (MVC) 3.x (3.10.1), and Zest 1.x (1.6.1), as well as for the new GEF4 components (0.1.1). Please note that while GEF 3.10.1 (Mars SR1) is a bugfix release, some minor adjustments have been applied to the provisional API of GEF4. These are highlighted below as [INCOMPATIBLE CHANGE].
GEF4 Geometry 0.1.1
Aligned background color within the examples and added window titles where missing (M1)
GEF4 Layout 0.1.1
Fixed a bug where dynamic layout was not applied although it should (M1)
GEF4 FX 0.1.1
[INCOMPATIBLE CHANGE] FXMouseDragGesture, FXPinchSpreadGesture, and FXRotateGesture were renamed (M1)
FXRotateGesture abstract base implementations located in package
org.eclipse.gef4.fx.gestures were renamed to consistently use the 'Abstract' prefix:
org.eclipse.gef4.fx.gestures.FXMouseDragGesturewas renamed to
org.eclipse.gef4.fx.gestures.FXPinchSpreadGesturewas renamed to
org.eclipse.gef4.fx.gestures.FXRotateGesturewas renamed to
GEF4 MVC 0.1.1
[INCOMPATIBLE CHANGE] DefaultSelectionProvider was moved (M1)
org.eclipse.gef4.mvc.fx.ui.DefaultSelectionProvider was moved to
org.eclipse.gef4.mvc.ui.DefaultSelectionProvider because it is independent of JavaFX.
FXViewer was responsible of creating a JavaFX scene and was provided with an ISceneContainer implementation, to hook the scene into a Stage (standalone) or FXCanvas (Eclipse UI integration) as follows:
The FXViewer had full control over the scene creation, so other root visuals than those provided by the viewer could not be set for the scene. This responsibility was moved out of FXViewer, so its visuals are now hooked into the scene as follows:
Thereby, several FXViewers can now share a single scene, which is e.g. necessary to create a palette viewer. By means of an JavaFX SplitPane, this could look like follows:
The now obsolete
org.eclipse.gef4.mvc.fx.viewer.ISceneContainer abstraction and the related
org.eclipse.gef4.mvc.fx.ui.FXCanvasSceneContainer implementations were removed.
Enabled that multiple viewers can easily be used with an FXView or FXEditor (M2)
populateViewers() hook methods from
createPartControl(), with a default implementation that is based on a single default viewer, which can easily be overwritten by subclasses to hook/populate multiple viewers.
Fixed a bug where the undo history was incorrectly cleared (M1)
Enhanced the default resize mechanism for better customizability (M1)
You can now define the visual that is resized (only the part's "main" visual was allowed before), and also define the initial size (the visual's layout-bounds were used before).