Hello all.
Working on a variant of the CircuitEditor example.
I'm trying to do some testing before I allow modules to be dropped in a drag & drop action (we have several limitations on what nodes belong in which groups, etc).
Currently I've tracked down what I think is the key code to OnEndDrag() in Controls/Adaptable/DraggingControlAdapter.
It looks like the intention is to subclass DraggingControlAdapter and put my custom code in there.
But, if this is true, I would also need to duplicate D2dGraphNodeEditAdapter, correct? And change the inheritance?
D2dGraphNodeEditAdapter gets instanced in Editor.cs for the CircuitEditor example and I'm not seeing another way to get access to that OnEndDrag() method call.
Please let me know if there's another way that I'm not seeing.
Thanks!
-Len