示例#1
0
 /** Sorts the tree. */
 public void sortTree() {
   tree.sort();
 }
示例#2
0
 /**
  * Adds an event entity to the tree and selects it.
  *
  * @param entity The entity
  */
 public void addEventEntity(EventEntity entity) {
   tree.addEntity(entity);
   tree.select(entity);
   setEventEntity(entity);
 }
示例#3
0
 /**
  * Gets the container.
  *
  * @return The container
  */
 public EventTreeContainer getContainer() {
   return (EventTreeContainer) tree.getContainerDataSource();
 }
示例#4
0
 /**
  * Adds an event group to the tree and selects it.
  *
  * @param group The group
  */
 public void addEventGroup(EventGroup group) {
   tree.addEventGroup(group);
   tree.select(group);
   setEventGroup(group);
 }
示例#5
0
 /** Update the whole tree, which is very expensive. */
 public void updateTree() {
   tree.readData();
 }