public IMouseState createEdgeHoverState(final Edge e, final MouseEvent event) {
    final CEdgeHoverState state = new CEdgeHoverState(this, m_graph, e);

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

    return state;
  }
Creates a new state event object when the edge enters hover state.

@param e The edge which is in hover state.
@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