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

Bug 302836

Summary: org.eclipse.draw2d.RoundedRectangle should offer getCornerDimensions() method, making corner field private.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF-Legacy Draw2dAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.7.1 (Indigo) M2   
Hardware: Other   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 305123    

Description Alexander Nyßen CLA 2010-02-15 02:58:57 EST
Build Identifier: M20090917-0800

Accessing the corner of a RoundedRectangle should not be limited to subclasses. One use case where the corner needs to be accessed is that one wants to define a connection anchor to exactly match the rounded rectangle's outline.

Reproducible: Always
Comment 1 Alexander Nyßen CLA 2010-07-25 15:46:37 EDT
Introduced getCornerDimensions() method. Made protected field deprecated (due to API compatibility it may not be made private in this release version).