Search in sources :

Example 1 with GuidedDecisionTableAccordion

use of org.drools.workbench.screens.guided.dtable.client.editor.page.accordion.GuidedDecisionTableAccordion in project drools-wb by kiegroup.

the class ColumnsPageView method setAccordion.

@Override
public void setAccordion(final GuidedDecisionTableAccordion accordion) {
    final GuidedDecisionTableAccordion.View view = accordion.getView();
    final HTMLElement htmlElement = elemental2DomUtil.asHTMLElement(view.getElement());
    elemental2DomUtil.removeAllElementChildren(accordionContainer);
    accordionContainer.appendChild(htmlElement);
}
Also used : HTMLElement(elemental2.dom.HTMLElement) GuidedDecisionTableAccordion(org.drools.workbench.screens.guided.dtable.client.editor.page.accordion.GuidedDecisionTableAccordion)

Aggregations

HTMLElement (elemental2.dom.HTMLElement)1 GuidedDecisionTableAccordion (org.drools.workbench.screens.guided.dtable.client.editor.page.accordion.GuidedDecisionTableAccordion)1