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 - getSourceAnchorShapeRotation has private visibility
Summary: getSourceAnchorShapeRotation has private visibility
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL:
Keywords:
Depends on: 106472
Blocks: 105060
  Show dependency tree
 
Reported: 2007-07-03 13:34 UTC by Sergey Petrov
Modified: 2009-06-30 15:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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