Search in sources :

Example 1 with ContainerCardPresenter

use of org.kie.workbench.common.screens.server.management.client.remote.card.ContainerCardPresenter in project kie-wb-common by kiegroup.

the class RemoteStatusPresenter method setup.

public void setup(final Collection<Container> containers) {
    view.clear();
    for (final Container container : containers) {
        final ContainerCardPresenter newCard = presenterProvider.get();
        newCard.setup(container);
        view.addCard(newCard.getView().asWidget());
    }
}
Also used : ContainerCardPresenter(org.kie.workbench.common.screens.server.management.client.remote.card.ContainerCardPresenter) Container(org.kie.server.controller.api.model.runtime.Container)

Aggregations

Container (org.kie.server.controller.api.model.runtime.Container)1 ContainerCardPresenter (org.kie.workbench.common.screens.server.management.client.remote.card.ContainerCardPresenter)1