public IMouseState createBackgroundPressedRightState(final MouseEvent event) {
    final CBackgroundPressedRightState state = new CBackgroundPressedRightState(this, m_graph);

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

    return state;
  }
Creates a new state object when the background is pressed with the left mouse button.

@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