/** * Sets the current active event group. * * @param group The new event group */ public void setEventGroup(EventGroup group) { content.setContent(new LayoutGroup(group, this)); toolbar.setActive(group); }
/** * Sets the current active event entity. * * @param entity The new event entity */ public void setEventEntity(EventEntity entity) { content.setContent(new LayoutEvent(entity, this)); toolbar.setActive(entity); }