package seedu.address.commons.events.ui;

import seedu.address.commons.events.BaseEvent;
import seedu.address.model.task.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;
    }
}

@@ -122,22 +122,20 @@
 ReadOnly
-Person
+Task
 ;%0A%0A/**%0A 
@@ -281,38 +281,36 @@
 e final ReadOnly
-Person
+Task
  newSelection;%0A%0A
@@ -361,22 +361,20 @@
 ReadOnly
-Person
+Task
  newSele
@@ -550,22 +550,20 @@
 ReadOnly
-Person
+Task
  getNewS

Edit PersonPanelSelectionChangedEvents