Search in sources :

Example 1 with Bs3Modal

use of org.uberfire.client.views.pfly.modal.Bs3Modal in project kie-wb-common by kiegroup.

the class ChangeProfileDevCommand method showModal.

private void showModal() {
    final HTMLElement selectorView = profileSelector.getView().getElement();
    final Bs3Modal modal = modalFactory.get();
    modal.setFooterContent(new FlowPanel());
    modal.setModalTitle("Choose profile");
    modal.setContent(ElementWrapperWidget.getWidget(selectorView));
    modal.show();
}
Also used : HTMLElement(org.jboss.errai.common.client.dom.HTMLElement) FlowPanel(org.gwtbootstrap3.client.ui.gwt.FlowPanel) Bs3Modal(org.uberfire.client.views.pfly.modal.Bs3Modal)

Aggregations

FlowPanel (org.gwtbootstrap3.client.ui.gwt.FlowPanel)1 HTMLElement (org.jboss.errai.common.client.dom.HTMLElement)1 Bs3Modal (org.uberfire.client.views.pfly.modal.Bs3Modal)1