package seedu.address.commons.events.ui;

import seedu.address.commons.events.BaseEvent;
import seedu.address.model.person.ReadOnlyPerson;

/**
 * Represents a selection change in the Person List Panel
 */
public class PersonPanelSelectionChangedEvent extends BaseEvent {


    private final ReadOnlyPerson newSelection;

    public PersonPanelSelectionChangedEvent(ReadOnlyPerson newSelection){
        this.newSelection = newSelection;
    }

    @Override
    public String toString() {
        return this.getClass().getSimpleName();
    }

    public ReadOnlyPerson getNewSelection() {
        return newSelection;
    }
}

@@ -82,16 +82,62 @@
 eEvent;%0A
+import seedu.address.model.activity.Activity;%0A
 import s
@@ -331,30 +331,24 @@
 e final 
-ReadOnlyPerson
+Activity
  newSele
@@ -403,35 +403,25 @@
 ent(
-ReadOnlyPerson newSelection
+Activity newValue
 )%7B%0A 
@@ -446,33 +446,29 @@
 ection = new
-Selection
+Value
 ;%0A    %7D%0A%0A   
@@ -575,30 +575,24 @@
  public 
-ReadOnlyPerson
+Activity
  getNewS

Update selection event to activity