/** Sorts the tree. */ public void sortTree() { tree.sort(); }
/** * 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); }
/** * Gets the container. * * @return The container */ public EventTreeContainer getContainer() { return (EventTreeContainer) tree.getContainerDataSource(); }
/** * 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); }
/** Update the whole tree, which is very expensive. */ public void updateTree() { tree.readData(); }