parentPlayer = null;
formatParentPlayerDisplay();
switch (selectedContentItem.getContentItemType()) {
case EVENT:
EventContentItem eventContentItem = (EventContentItem) selectedContentItem;
Date startDate = eventContentItem.getEventStartDate();
Date endDate = eventContentItem.getEventEndDate();
if (startDate == null) {
startDate = new Date();
}
startDatePicker.setValue(startDate);
startDatePicker.setCurrentMonth(startDatePicker.getValue());
startTime.setValue(DateUtil.formatTime(startDate));
hasSeparateEndDate.setValue(endDate != null, true);
endDatePicker.setValue(endDate == null ? startDatePicker.getValue() : endDate);
endDatePicker.setCurrentMonth(endDatePicker.getValue());
endTime.setText(endDate == null ? startTime.getText() : DateUtil.formatTime(endDate));
setDateTriggerText();
updateEditor.setText(eventContentItem.getEventUpdate());
summaryEditor.setContent(eventContentItem.getEventSummary());
break;
case PLAYER:
if (selectedContentItem.getLivingStoryId() == null) {
PlayerContentItem playerContentItem = (PlayerContentItem) selectedContentItem;
nameTextBox.setText(playerContentItem.getName());