This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 108754

Summary: getSourceAnchorShapeRotation has private visibility
Product: platform Reporter: Sergey Petrov <sj-nb>
Component: GraphAssignee: t_h <t_h>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 106472    
Bug Blocks: 105060    

Description Sergey Petrov 2007-07-03 13:34:04 UTC
reproducible with 070622

ConnectionWidget:
getSourceAnchorShapeRotation has private access

when

getTargetAnchorShapeRotation has public

got it on attempt to define own connection widget.
Comment 1 David Kaspar 2007-07-03 15:36:12 UTC
This issue depends on issue #106472 where more ConnectionWidget related API restriction are introduced.
For need of creating customized ConnectionWidget e.g. CurveConnectionWidget, it is required to have "protected final"
modifiers for these methods.
Comment 2 Kris Richards 2008-01-29 15:04:25 UTC
after some discussion it has been agreed both getSourceAnchorShapeRotation  and getTargetAnchorShapeRotation  should be protected in order to help with 
creation of custom connection widgets
Comment 3 David Kaspar 2008-01-30 11:15:17 UTC
Agree. We just have to create a patch to fast API review.
Comment 4 t_h 2009-06-30 15:21:58 UTC
a27d86e433e7