Skip to main content

Notice: This Wiki is now read only and edits are no longer 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"

m
 
(103 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
* [http://www.eclipse.org/gef/newandnoteworthy/New-and-Noteworthy-30.html New and Noteworthy in 3.0]
 
* [http://www.eclipse.org/gef/newandnoteworthy/New-and-Noteworthy-35.html New and Noteworthy in 3.5]
 
* [[GEF/New and Noteworthy/3.6| New and Noteworthy in 3.6]]
 
* [[GEF/New and Noteworthy/3.7| New and Noteworthy in 3.7]]
 
* [[GEF/New and Noteworthy/3.8| New and Noteworthy in 3.8]]
 
* [[GEF/New and Noteworthy/3.9| New and Noteworthy in 3.9]]
 
 
== General ==
 
 
The Eclipse 3.10.0 (Mars) release provides minor releases for Draw2d (3.10.0), GEF (MVC) (3.10.0), and Zest (1.6.0), as well as initial versions (0.1.0) of all new GEF4 components.
 
 
All GEF4 components are purely provisional, that is no API is exposed yet. While the Common, Geometry, MVC components have been mostly written from scratch, the Graph, Layout, DOT, Zest, and Cloudio components are (at least partially) based on the former Zest2 code base. In contrast to the prior Zest2 code base, everything contributed to the 3.10.0 (Mars) release will be completely self-contained, i.e. none of the GEF4 components relies on API provided by Draw2d/GEF (MVC) 3.x, or Zest 1.x.
 
 
An overview of all GEF4 components and detailed documentation on each can be found under [[GEF/GEF4 | GEF4]].
 
 
== Draw2d 3.10.0 ==
 
 
=== Tooltip Delay (3.10.0 M1) ===
 
<code>TooltipHelper</code> now allows clients to set the tooltip delay (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=323656 Bug #323656]).
 
 
== GEF (MVC) 3.10.0 ==
 
 
=== Redoing Commands (M2) ===
 
Added <code>Command#canRedo()</code>, which by default delegates to <code>Command#canExecute()</code> but can be overwritten to decide whether a command is redoable or not. The <code>CommandStack</code> now evaluates this when checking of the command on its top can be redone (<code>CommandStack#canRedo()</code>). (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=332351 Bug #332351]).
 
 
== Zest 1.6.0 ==
 
 
== GEF4 Common 0.1.0 ==
 
 
=== Creation of Component (M1) ===
 
GEF4 Common component was created by extracting generic components from GEF4 MVC and GEF4 FX, including some generic abstractions like <code>IActivatable</code>, <code>IAdaptable</code>, or <code>IPropertyChangeNotifier</code>, as well as related helper/utility classes.
 
 
=== Introduction of AdapterMap-Binding-Support (M1) ===
 
To combine the <code>IAdaptable</code>-mechanism with Google Guice-based dependency injection, a specific map-binding was introduced, which allows to inject adapters into <code>IAdaptable</code>s.
 
 
== GEF4 Geometry 0.1.0 ==
 
 
=== Introduced <code>ICurve#getNearestIntersection(ICurve, Point)</code> (M2) ===
 
Extended the <code>ICurve</code> interface with a method (<code>getNearestIntersection(ICurve, Point)</code>) that allows to compute the intersection point with another <code>ICurve</code> nearest to some reference point. This is e.g. quite handy when computing anchor position within <code>FXChopBoxAnchor</code>.
 
 
== GEF4 Graph 0.1.0 ==
 
 
== GEF4 Layout 0.1.0 ==
 
 
== GEF4 DOT 0.1.0 ==
 
 
=== Re-created DOT Graph Viewer based on GEF4 Zest (M3) ===
 
Replacing the former Zest2 code within <code>org.eclipse.gef4.zest.ui</code> that still depended on Draw2d, a new GEF4 DOT Graph Viewer was introduced, which is based on Zest.FX and Zest.FX.UI and thus uses JavaFX for visualization purposes (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=441129 Bug #441129] for details).
 
 
== GEF4 FX 0.1.0 ==
 
 
=== Integrated SwtFX as FX.UI (M1) ===
 
Integrated and refactored SwtFX into FX.UI as part of the GEF4 FX component (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=441464 Bug #441464]).
 
 
=== Removed SwtFXScene (M1) ===
 
Removed the need for specific SwtFXScene implementation by ensuring that <code>FXControlAdapter</code> (formerly <code>SwtFXControlAdapter</code>) can work with an arbitrary JavaFX <code>Scene</code> (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=441463 Bug #441463]).
 
 
=== Added FXGridLayer (M2) ===
 
A new <code>FXGridLayer</code> is now provided, which can be used as a background layer.
 
 
=== Revised IFXAnchor API (M2) ===
 
<code>IFXAnchor#attach()</code> and <code>IFXAnchor#detach()</code> now take an additional <code>IAdaptable</code> argument, which may be used to provide additional information to the specific anchor. In case of an <code>FXChopBoxAnchor</code>, this mechanism is used to pass in a <code>FXChopBoxAnchor$ReferencePointProvider</code>, thereby replicating the old <code>FXChopBoxHelper</code> mechanism which involved direct coupling. Furthermore, an <code>FXChopBoxAnchor$ComputationStrategy</code> interface has been extracted from the <code>FXChopBoxAnchor</code> (an implementation can be passed in via its constructor), so the strategy, which is used to compute anchor positions, can be replaced (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=442971 Bug #442971], [https://bugs.eclipse.org/bugs/show_bug.cgi?id=444009 Bug #444009]).
 
 
=== Introduced IFXConnectionRouter (M2) ===
 
An <code>IFXConnectionRouter</code> interface has been extracted from <code>FXConnection</code>. It can be passed in via <code>FXConnection#setRouter()</code> and is responsible of computing a curve geometry from the passed in (manually provided) waypoints of the connection (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=443781 Bug #443781]).
 
 
== GEF4 MVC 0.1.0 ==
 
 
=== Added grid layer and implemented snap-to-grid support (M2) ===
 
The <code>FXRootPart</code> now creates an <code>FXGridLayer</code> as underlying layer by default. Visibility of the layer can be controlled via a <code>GridModel</code>, which is to be registered as an <code>IViewer</code> adapter. The <code>GridModel</code> allows to select the grid cell height and width and whether the grid is to be zoomed with the contents layer or not. It can also be used to enable/disable snap-to-grid, which is respected by the <code>FXResizeRelocatePolicy</code> and <code>FXBendPoliy</code>.
 
 
=== Added support for hover handles (M3) ===
 
 
== GEF4 Zest 0.1.0 ==
 
 
=== Created Zest.FX and Zest.FX.UI as a replacement for Zest2 Core (M1) ===
 
 
=== Implemented Pruning/Unpruning of child nodes (M3) ===
 
 
== GEF4 Cloudio 0.1.0 ==
 
  
 +
The "New & Noteworthy" pages have been migrated to GitHub:
  
 +
* [https://github.com/eclipse/gef/blob/master/CHANGELOG.md#gef-3100-mars GEF@github.com CHANGELOG]
 +
* [https://github.com/eclipse/gef-legacy/blob/master/CHANGELOG.md#gef-3100-mars GEF-Legacy@github.com CHANGELOG]
  
 
[[Category:GEF]]
 
[[Category:GEF]]

Latest revision as of 10:18, 9 June 2017


The "New & Noteworthy" pages have been migrated to GitHub:

Back to the top