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

m
 
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.7 | New and Noteworthy in 3.7]]
 
  
== Draw2d==
+
The "New & Noteworthy" pages have been migrated to GitHub:
  
=== Puristic Scrollbar ===
+
* [https://github.com/eclipse/gef-legacy/blob/master/CHANGELOG.md#gef-360-helios GEF-Legacy@github.com CHANGELOG]
Draw2d now provides a puristic scrollbar as alternative to the classic scrollbar.
+
<br>
+
[[Image:Scrollbar.png]] [[Image:PuristicScrollbar.jpg]]
+
 
+
=== Ghost Image Figure ===
+
Semi-transparent ghost image figures now be easily created for arbitrary Draw2d figures, e.g. to render feedback.
+
<br>
+
[[Image:GhostImageFigure.png]]
+
 
+
=== Clipping Strategy ===
+
Draw2d figures can now be parameterized with a clipping strategy (IClippingStrategy) to establish custom clipping behavior for their children. If no clipping strategy is provided, the default clipping behavior prior to 3.6 is applied, i.e. child figures are clipped at their parent's client area.
+
 
+
As this default clipping behavior leads to quite poor results in case connections are drawn from nested viewports ...<br>
+
[[Image:DefaultClippingStrategy.jpg]]
+
<br>
+
... a clipping strategy implementation (ViewportAwareConnectionLayerClippingStrategy) to deal with this is now available, being the default clipping strategy of the logic editor's ConnectionLayer.
+
<br>
+
[[Image:ViewportAwareClippingStrategy.jpg]]
+
 
+
== GEF ==
+
 
+
=== Scrollable Selection Feedback ===
+
GEF now offers a special SelectionEditPolicy to render the hidden contents of a viewport by means of semi-transparent ghost images for the nested children and related connections. That is, in case the ScrollableFeedbackSelectionPolicy is registered at a host edit part, the hidden contents can now be easily made visible by a primary selection of the host figure.
+
<br>
+
[[Image:ScrollableSelectionFeedback.png]]
+
  
 
[[Category:GEF]]
 
[[Category:GEF]]

Latest revision as of 10:28, 9 June 2017


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

Back to the top