package seedu.jimi.commons.events.ui;

import seedu.jimi.commons.events.BaseEvent;

/**
 * Indicates user request to show a section of the taskList panel.
 * @author zexuan
 *
 */
public class ShowTaskPanelSectionEvent extends BaseEvent{

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

}

package seedu.jimi.commons.events.ui;

import seedu.jimi.commons.events.BaseEvent;

/**
 * Indicates user request to show a section of the taskList panel.
 * @author zexuan
 *
 */
public class ShowTaskPanelSectionEvent extends BaseEvent{

    public final String sectionToDisplay;
    
    public ShowTaskPanelSectionEvent(String sectionToDisplay) {
        this.sectionToDisplay = sectionToDisplay;
    }
    
    @Override
    public String toString() {
        return this.getClass().getSimpleName();
    }

}

Modify access level of member var
Modify access level of member var
