|Interacting With A Connection [message #654975]
||Thu, 17 February 2011 20:36
| Rhett Hudson
Registered: September 2010
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 09:37
| Michael Wenz
Registered: July 2009
Location: Walldorf, Germany
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.
"Rhett Hudson" wrote in message news:email@example.com...
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
Thanks for your help!
Powered by FUDForum
. Page generated in 0.02520 seconds