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 - ConnectAction: need source/target point support in ConnectProvider
Summary: ConnectAction: need source/target point support in ConnectProvider
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
Depends on:
Blocks: 105060
  Show dependency tree
Reported: 2007-11-16 09:16 UTC by Sergey Petrov
Modified: 2007-11-16 15:41 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2007-11-16 09:16:29 UTC

    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.