we like to change the default behavior of ports like…
- If the user click on a port, the port is changed its position.
- The linking from port to port is calling from a context menu item
I have already implement a port moving tool like your example and it works fine.
But now I am searching for the right place to insert the three tools (PortMovingTool, ToolRelinking, ToolLinkingNew).
I try to Replace the MouseTool in the view… but your default behavior is shown (the port want to link to another port).
Can you help me please?