private TreeitemRenderer getRendererForTree() {
return new TreeitemRenderer() {
@Override
public void render(Treeitem item, Object data)
{
LoadTimeLine line = (LoadTimeLine) data;
item.setOpen(false);
item.setValue(line);
Treerow row = new Treerow();
Treecell cell = new Treecell();
Component component = createComponent(line);
item.appendChild(row);
row.appendChild(cell);
appendOperations(cell, line);
cell.appendChild(component);
collapse(line);
addExpandedListener(item, line);
row.setSclass("resourceload-leftpanel-row");
}
private void appendOperations(final Treecell cell,
final LoadTimeLine line) {
if (line.getRole().isVisibleScheduled()) {
appendButtonPlan(cell, line);
}
}
private void appendButtonPlan(final Treecell cell,