Interacting With A Connection [message #654975] |
Thu, 17 February 2011 15:36  |
Eclipse User |
|
|
|
I would like to support connections that branch or fanout to multiple destinations. I read an earlier post that explored this and it came to the conclusion that the framework does not support connections that do this directly.
As an alternative, I would like the user to be able to issue a command against a connection that causes it to split into multiple connections. I have been investigating mechanisms for the user to indicate that they would like this to happen.
I have investigated drag and drop, but it appears that the reference in BoxRelativeAnchorEditPart is the only one that uses drag and drop features.
I looked at double clicking, but it appears that double clicks on connections don't make it through to the double click feature provider.
I looked at context pad buttons, but connections don't seem to get one.
That leaves me with selecting the connection and using a context menu. I can live with that, but I wanted to check to make sure it was my only option. Is that the only command-like feature that gets called with a connection in its context?
|
|
|
|
|
Re: Interacting With A Connection [message #655462 is a reply to message #655247] |
Mon, 21 February 2011 04:37  |
Eclipse User |
|
|
|
Thanks for this clarification. Now I understood this drag&drop operation.
We'll let this idea flow into the current thoughts about how to support
connections on connections.
Thanks,
Michael
"Rhett Hudson" wrote in message news:ijmgnf$5kj$1@news.eclipse.org...
To clarify my drag comment, one standard way, in electrical CAD tools at
least, for a diagram to generate a branching connection is for the user to
drag from an existing connection in the same manner that Graphiti currently
supports creating a connection by dragging from a BoxRelativeAnchor. The
behavior would be be as if the entire connection were an anchor that
supported dragging connections. The actual reference point for the origin of
the new connection being the point on the connection where the user started
the drag.
Thanks for your help!
|
|
|
Powered by
FUDForum. Page generated in 0.09035 seconds