Adds a context menu to edit a connection from the jtree