Difference between revisions of "GEF/New and Noteworthy/3.6"
|Line 34:||Line 34:|
Revision as of 17:11, 9 November 2010
New and Noteworthy for Previous Versions
New and Noteworthy in GEF 3.6
Ghost Image Figure
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 ...
... a clipping strategy implementation (ViewportAwareConnectionLayerClippingStrategy) to deal with this is now available, being the default clipping strategy of the logic editor's ConnectionLayer.
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.