package seedu.taskell.logic.commands;

public class ViewCalendarCommand extends Command {
    
    public static final String COMMAND_WORD = "calendar";

    public static final String MESSAGE_USAGE = COMMAND_WORD + ": Shows calendar view on right panel.\n"
            + "Example: " + COMMAND_WORD;

    @Override
    public CommandResult execute() {
        // TODO Auto-generated method stub
        return null;
    }

}

@@ -32,16 +32,130 @@
 mands;%0A%0A
+import seedu.taskell.commons.core.EventsCenter;%0Aimport seedu.taskell.commons.events.ui.DisplayCalendarViewEvent;%0A%0A
 public c
@@ -411,122 +411,374 @@
 RD;%0A
-%0A    @Override%0A    public CommandResult execute() %7B%0A        // TODO Auto-generated method stub%0A        return null
+    %0A    private static final String MESSAGE_SUCCESS = %22Displayed calendar.%22;%0A%0A    @Override%0A    public CommandResult execute() %7B%0A        indicateDisplayCalendarView();%0A        return new CommandResult(String.format(MESSAGE_SUCCESS));%0A    %7D%0A    %0A    private void indicateDisplayCalendarView() %7B%0A        EventsCenter.getInstance().post(new DisplayCalendarViewEvent())
 ;%0A  

add execute() for view calendar