public IMouseState createNodeClickedMiddleState(final Node n, final MouseEvent event) {
    final CNodeClickedMiddleState state = new CNodeClickedMiddleState(this, m_graph, n);

    m_factory.createNodeClickedMiddleAction().execute(state, event);

    return state;
  }
Creates a new state object when a node is clicked with the middle mouse button.

@param n The node which was clicked.
@param event The mouse event that caused the state change.
@return The state object that describes the mouse state.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/CStateFactory.java