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 122093

Summary: ConnectAction: need source/target point support in ConnectProvider
Product: platform Reporter: Sergey Petrov <sj-nb>
Component: GraphAssignee: issues@platform <issues>
Status: REOPENED ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 105060    

Description Sergey Petrov 2007-11-16 09:16:29 UTC
i.e. 

    public ConnectorState isTargetWidget(Widget sourceWidget, Widget targetWidget,Point sourcePoint,Point targetPoint);
    

    public boolean isSourceWidget(Widget sourceWidget,Point sourcePoint);
    

    public void createConnection(Widget sourceWidget, Widget targetWidget,Point startingPoint,Point finishPoint);

methods, because sometimes it's possible to make connection only to/from specific point of target/source widget
Comment 1 David Kaspar 2007-11-16 13:22:29 UTC

*** This issue has been marked as a duplicate of 122092 ***
Comment 2 Sergey Petrov 2007-11-16 15:11:55 UTC
this issue is about COnnectAction/ConnectpROVIDER POSITIONING SUPPORT
Comment 3 David Kaspar 2007-11-16 15:41:55 UTC
The particular API is not available.
To make it, we would have to create a new ConnectProvider-based interface as well as a new
ConnectAction-based implementation to pass the sourceLocation and targetLocation parameters to ConnectProvider.