Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "GEF/New and Noteworthy/3.10.1"

(Breaking changes of provisional API from 0.1.0 to 0.1.1)
(Breaking changes of provisional API from 0.1.0 to 0.1.1)
Line 14: Line 14:
 
=== Breaking changes of provisional API from 0.1.0 to 0.1.1 ===
 
=== Breaking changes of provisional API from 0.1.0 to 0.1.1 ===
  
==== <code>DefaultSelectionProvider</code> was moved ====
+
==== DefaultSelectionProvider was moved ====
 
<code>org.eclipse.gef4.mvc.fx.ui.DefaultSelectionProvider</code> was moved to <code>org.eclipse.gef4.mvc.ui.DefaultSelectionProvider</code> because it is independent of JavaFX.
 
<code>org.eclipse.gef4.mvc.fx.ui.DefaultSelectionProvider</code> was moved to <code>org.eclipse.gef4.mvc.ui.DefaultSelectionProvider</code> because it is independent of JavaFX.
  
==== <code>FXMouseDragGesture</code>, <code>FXPinchSpreadGesture</code>, and <code>FXRotateGesture</code> were renamed ====
+
==== FXMouseDragGesture, FXPinchSpreadGesture, and FXRotateGesture were renamed ====
  
 
The <code>FXMouseDragGesture</code>, <code>FXPinchSpreadGesture</code>, and <code>FXRotateGesture</code> abstract base implementations located in package <code>org.eclipse.gef4.fx.gestures</code> were renamed to consistently use the 'Abstract' prefix:
 
The <code>FXMouseDragGesture</code>, <code>FXPinchSpreadGesture</code>, and <code>FXRotateGesture</code> abstract base implementations located in package <code>org.eclipse.gef4.fx.gestures</code> were renamed to consistently use the 'Abstract' prefix:
Line 24: Line 24:
 
* <code>org.eclipse.gef4.fx.gestures.FXRotateGesture</code> was renamed to <code>org.eclipse.gef4.fx.gestures.AbstractFXRotateGesture</code>
 
* <code>org.eclipse.gef4.fx.gestures.FXRotateGesture</code> was renamed to <code>org.eclipse.gef4.fx.gestures.AbstractFXRotateGesture</code>
  
==== <code>FXViewer</code> was changed to enable that it can work with a shared JavaFX scene. ====
+
==== FXViewer was changed to enable that it can work with a shared JavaFX scene. ====
 
* The contract of <code>org.eclipse.gef4.mvc.fx.viewer.FXViewer</code> was changed so that it is no longer responsible of constructing a JavaFX scene and hooking it into an <code>org.eclipse.gef4.mvc.fx.viewer.ISceneContainer</code>. Instead <code>FXViewer</code> is now only responsible of constructing its own visuals (lazily within <code>#getScrollPane()</code>) and hooking the root part visuals into it.
 
* The contract of <code>org.eclipse.gef4.mvc.fx.viewer.FXViewer</code> was changed so that it is no longer responsible of constructing a JavaFX scene and hooking it into an <code>org.eclipse.gef4.mvc.fx.viewer.ISceneContainer</code>. Instead <code>FXViewer</code> is now only responsible of constructing its own visuals (lazily within <code>#getScrollPane()</code>) and hooking the root part visuals into it.
 
* The now obsolete <code>org.eclipse.gef4.mvc.fx.viewer.ISceneContainer</code> abstraction and the related <code>org.eclipse.gef4.mvc.fx.FXStageSceneContainer</code>, and <code>org.eclipse.gef4.mvc.fx.ui.FXCanvasSceneContainer</code> implementations were removed.
 
* The now obsolete <code>org.eclipse.gef4.mvc.fx.viewer.ISceneContainer</code> abstraction and the related <code>org.eclipse.gef4.mvc.fx.FXStageSceneContainer</code>, and <code>org.eclipse.gef4.mvc.fx.ui.FXCanvasSceneContainer</code> implementations were removed.

Revision as of 02:14, 15 July 2015

General

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).

Breaking changes of provisional API from 0.1.0 to 0.1.1

DefaultSelectionProvider was moved

org.eclipse.gef4.mvc.fx.ui.DefaultSelectionProvider was moved to org.eclipse.gef4.mvc.ui.DefaultSelectionProvider because it is independent of JavaFX.

FXMouseDragGesture, FXPinchSpreadGesture, and FXRotateGesture were renamed

The FXMouseDragGesture, FXPinchSpreadGesture, and 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.FXMouseDragGesture was renamed to org.eclipse.gef4.fx.gestures.AbstractFXMouseDragGesture
  • org.eclipse.gef4.fx.gestures.FXPinchSpreadGesture was renamed to org.eclipse.gef4.fx.gestures.AbstractFXPinchSpreadDragGesture
  • org.eclipse.gef4.fx.gestures.FXRotateGesture was renamed to org.eclipse.gef4.fx.gestures.AbstractFXRotateGesture

FXViewer was changed to enable that it can work with a shared JavaFX scene.

  • The contract of org.eclipse.gef4.mvc.fx.viewer.FXViewer was changed so that it is no longer responsible of constructing a JavaFX scene and hooking it into an org.eclipse.gef4.mvc.fx.viewer.ISceneContainer. Instead FXViewer is now only responsible of constructing its own visuals (lazily within #getScrollPane()) and hooking the root part visuals into it.
  • The now obsolete org.eclipse.gef4.mvc.fx.viewer.ISceneContainer abstraction and the related org.eclipse.gef4.mvc.fx.FXStageSceneContainer, and org.eclipse.gef4.mvc.fx.ui.FXCanvasSceneContainer implementations were removed.

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

Fixed a Java 8-related bug where chop box anchor positions were not computed (M1)


GEF4 MVC 0.1.1

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).

Fixed a bug where the way points of a connection were "jumping"/changing position (M1)

Added checks to determine the dirty state of an FXEditor based on the undo-history (M1)

Added a widget for creating/manipulating multi-stop linear gradients (M1)

The FXAdvancedGradientPicker embedded into a property edit dialog.

Back to the top