}
}
}
private void layoutWithToolbar(UiCanvas canvas) {
TreePanel treePanel = new TreePanel(toolbarTitle, tree);
treePanel.setTitlePanelBackground(Colors.JITTERBIT_BLUE);
treePanel.setTitleStyle(TextStyle.newColor(TextStyles.AdminHintBold, Color.WHITE));
if (treeFilterFunction != null) {
treePanel.showFilterField(treeFilterFunction, false);
treePanel.setFilterInterceptor(new FilterFieldInterceptor());
treePanel.setLayoutFilterFieldBelowTheTree(true);
}
treePanel.decorate(canvas);
}