Jump to: navigation, search

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

Line 1: Line 1:
 
== Draw2d==
 
== Draw2d==
  
=== Geometry API Refactoring ===
+
=== Geometry ===
TODO
+
Geometry API was completely refactored to ensure 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 ==
 
== GEF ==
Line 10: Line 10:
  
 
=== Marquee Selection Tool ===
 
=== Marquee Selection Tool ===
<code>MarqueeSelectionTool</code> was enhanced to now offer the following default marquee behaviors:
+
<code>MarqueeSelectionTool</code> was enhanced to now offer the following default marquee behaviors ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=67991 67991]):
 
* BEHAVIOR_CONNECTIONS_TOUCHED (supported since 3.1)
 
* BEHAVIOR_CONNECTIONS_TOUCHED (supported since 3.1)
 
* BEHAVIOR_CONNECTIONS_CONTAINED
 
* BEHAVIOR_CONNECTIONS_CONTAINED

Revision as of 12:29, 27 October 2010

Draw2d

Geometry

Geometry API was completely refactored to ensure consistency between integer-precision and double-precision version of Point/PrecisionPoint, Dimension/PrecisionDimension, and Rectangle/PrecisionRectangle. 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 124904, 142628, and 271235 for details.

GEF

Layout / PrimaryDragRole EditPolicy Refactoring

TODO

Marquee Selection Tool

MarqueeSelectionTool was enhanced to now offer the following default marquee behaviors (67991):

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

Furthermore, clients may now customize behavior of MarqueeSelectionTool by subclassing and overwriting calculateSelectionDelta(Rectangle marqueeSelectionRectangle, Collection editPartsToSelect, Collection editPartsToDeselect).