/// <summary> /// Called when a user selects an activity in the GUI. /// Loads the description of the activity in the GUI. /// Potential TO-DO: Add exception handling. /// </summary> /// <param name="activityName"></param> What activity has been pressed public void activityPressed(string activityName) { currentActivityHover = activityName; String description = connectToDatabase.GetActivityDescriptionQuery(activityName); view.updateActivityInfo(description); }