Exemple #1
0
 /**
  * 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);
 }
Exemple #2
0
 /**
  * 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);
 }