use of com.haulmont.cuba.gui.components.ButtonsPanel in project cuba by cuba-platform.
the class WidgetsTreeLoader method createButtonsPanel.
protected void createButtonsPanel(Tree resultComponent, Element element) {
buttonsPanelElement = element.element("buttonsPanel");
if (buttonsPanelElement != null) {
ButtonsPanelLoader loader = (ButtonsPanelLoader) getLoader(buttonsPanelElement, ButtonsPanel.NAME);
loader.createComponent();
ButtonsPanel panel = loader.getResultComponent();
resultComponent.setButtonsPanel(panel);
buttonsPanelLoader = loader;
}
}
Aggregations