|Drag onto connection [message #182709]
||Thu, 26 May 2005 11:04
| Jason Kealey
Registered: July 2009
We're creating an editor for a visual notation. As a simplified view, |
assume nodes and connections.
In the editpart for our node, we've installed a component_role and
layout_role. (also, probably irrelevant: selection_feedback_role)
When dragging a node onto another, thanks to the xylayouteditpolicy we
have, createAddCommand() is called and we can perform some graph
manipulation when a user drops a node onto another.
I've been unable to replicate this behaviour when nodes are dropped on
connections and I was wondering if there is something I don't quite
(Or maybe I am doing it all wrong)
Powered by FUDForum
. Page generated in 0.01895 seconds