Class KSessionSelectorViewImpl
- java.lang.Object
-
- org.kie.workbench.common.widgets.client.widget.KSessionSelectorViewImpl
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,org.jboss.errai.ui.client.local.api.IsElement,KSessionSelectorView
@Templated public class KSessionSelectorViewImpl extends Object implements KSessionSelectorView
-
-
Constructor Summary
Constructors Constructor Description KSessionSelectorViewImpl()KSessionSelectorViewImpl(elemental2.dom.HTMLDocument document, KieSelectElement kbaseSelect, KieSelectElement ksessionSelect, elemental2.dom.HTMLLabelElement warningLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKBases(String... names)StringgetSelectedKSessionName()voidsetKSessions(List<String> ksessions)voidsetPresenter(KSessionSelector presenter)voidsetSelected(String kbase, String ksession)voidshowWarningSelectedKSessionDoesNotExist()
-
-
-
Constructor Detail
-
KSessionSelectorViewImpl
public KSessionSelectorViewImpl()
-
KSessionSelectorViewImpl
@Inject public KSessionSelectorViewImpl(elemental2.dom.HTMLDocument document, KieSelectElement kbaseSelect, KieSelectElement ksessionSelect, elemental2.dom.HTMLLabelElement warningLabel)
-
-
Method Detail
-
setPresenter
public void setPresenter(KSessionSelector presenter)
- Specified by:
setPresenterin interfaceKSessionSelectorView
-
setSelected
public void setSelected(String kbase, String ksession)
- Specified by:
setSelectedin interfaceKSessionSelectorView
-
addKBases
public void addKBases(String... names)
- Specified by:
addKBasesin interfaceKSessionSelectorView
-
setKSessions
public void setKSessions(List<String> ksessions)
- Specified by:
setKSessionsin interfaceKSessionSelectorView
-
showWarningSelectedKSessionDoesNotExist
public void showWarningSelectedKSessionDoesNotExist()
- Specified by:
showWarningSelectedKSessionDoesNotExistin interfaceKSessionSelectorView
-
getSelectedKSessionName
public String getSelectedKSessionName()
- Specified by:
getSelectedKSessionNamein interfaceKSessionSelectorView
-
-