Search in sources :

Example 1 with UberElement

use of org.uberfire.client.mvp.UberElement in project kie-wb-common by kiegroup.

the class FormModelCreationContainerViewImpl method init.

@Override
public void init(Presenter container) {
    this.container = container;
    modelCreator.setText(container.getFormModelLabel());
    DOMUtil.removeAllChildren(viewContainer);
    UberElement creationView = container.getCreationView();
    hasCreationView = creationView != null;
    if (hasCreationView) {
        viewContainer.appendChild(creationView.getElement());
    }
}
Also used : UberElement(org.uberfire.client.mvp.UberElement)

Aggregations

UberElement (org.uberfire.client.mvp.UberElement)1