Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 566473

Summary: IBendableContentPart should not restrict visual to Connection.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.3.1 (2020-09) RC1   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Alexander Nyßen CLA 2020-08-28 03:52:03 EDT
Currently, IBendableContentPart restricts the visual to be a Connection. This restriction is not required, as only certain parts of the default behavior are specific for Connections. We should thus remove this restriction.
Comment 1 Alexander Nyßen CLA 2020-08-28 03:55:48 EDT
Deprecated the getBendableVisual() method, stating it no longer has to be implemented, preserving the default behavior in case the visual is a Connection. 
Adjusted all callers to use IVisualPart.getVisual() instead.

Resolving as fixed in 5.3.1 RC1.