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

m (Replaced content with "__NOTOC__ The "New & Noteworthy" pages have been migrated to GitHub: * [https://github.com/eclipse/gef-legacy/blob/master/CHANGELOG.md#gef-370-indigo GEF-Legacy@github.c...")
 
(39 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Draw2d==
+
__NOTOC__
  
=== Refactoring of Geometry API ===
+
The "New & Noteworthy" pages have been migrated to GitHub:
Geometry API was refactored to guarantee consistency between integer-precision and double-precision version of <code>Point</code>/<code>PrecisionPoint</code>, <code>Dimension</code>/<code>PrecisionDimension</code>, and <code>Rectangle</code>/<code>PrecisionRectangle</code>. Synchronization between the still exposed integer-precision fields (x, y, width, height) and the no-longer exposed double-precision fields (preciseX, preciseY, preciseWidth, preciseHeight) is performed automatically by precision classes now, so clients may use the precision versions transparently, being no longer forced to perform a manual update of the respective fields. See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=124904 124904], [https://bugs.eclipse.org/bugs/show_bug.cgi?id=142628 142628], and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=271235 271235] for details.
+
  
== GEF ==
+
* [https://github.com/eclipse/gef-legacy/blob/master/CHANGELOG.md#gef-370-indigo GEF-Legacy@github.com CHANGELOG]
  
=== Refactoring of Layout and PrimaryDrag edit policies ===
 
TODO
 
 
=== MarqueeSelectionTool ===
 
<code>MarqueeSelectionTool</code> was enhanced to now offer the following default marquee behaviors:
 
* BEHAVIOR_CONNECTIONS_TOUCHED (supported since 3.1)
 
* BEHAVIOR_CONNECTIONS_CONTAINED
 
* BEHAVIOR_NODES_TOUCHED
 
* BEHAVIOR_NODES_CONTAINED (supported since 3.1, default behavior)
 
* BEHAVIOR_NODES_TOUCHED_AND_RELATED_CONNECTIONS
 
* BEHAVIOR_NODES_CONTAINED_AND_RELATED_CONNECTIONS (supported since 3.1, formerly known as BEHAVIOR_NODES_AND_CONNECTIONS, which was in turn deprecated).
 
 
Refactored MarqueeSelectionTool, by separating those code fragments depending on the current tool mode from those depending on the selected marquee behavior. Clients may now customize behavior of <code>MarqueeSelectionTool</code> by subclassing and customizing the following methods:
 
* performMarqueeSelect()
 
* calculateMarqueeSelectedEditParts()
 
* isMarqueeSelectable(EditPart)
 
 
The following methods are now exposed (protected visibility) so clients can consume them:
 
* getCurrentMarqueeSelectionRectangle()
 
* getCurrentSelectionMode()
 
 
=== MatchSizeAction ===
 
Similar to <code>MatchWidthAction</code> and <code>MatchHeightAction</code>, a concrete <code>MatchSizeAction</code> [[Image:MatchSizeAction.png]] was now made available (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=107916 107916]).
 
 
[[Category:Tools_Project]]
 
 
[[Category:GEF]]
 
[[Category:GEF]]

Latest revision as of 10:27, 9 June 2017


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

Back to the top