@Dependent @Templated public class ScenarioSimulationKogitoCreationPopupView extends AbstractScenarioPopupView implements ScenarioSimulationKogitoCreationPopup
ScenarioSimulationKogitoCreationPopup.Presenter
AbstractScenarioPopup.Presenter
Modifier and Type | Field and Description |
---|---|
protected elemental2.dom.HTMLDivElement |
dmnAssetsDivElement |
protected elemental2.dom.HTMLLabelElement |
dmnAssetsLabelElement |
protected elemental2.dom.HTMLInputElement |
dmnButton |
protected elemental2.dom.HTMLDivElement |
infoRuleIconDivElement |
protected elemental2.dom.HTMLInputElement |
ruleButton |
protected ScenarioSimulationKogitoCreationAssetsDropdown |
scenarioSimulationKogitoCreationAssetsDropdown |
protected String |
selectedPath |
protected org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type |
selectedType |
protected elemental2.dom.HTMLLabelElement |
sourceTypeLabelElement |
cancelButton, mainTitle, modal, okButton, okCommand, translationService
Constructor and Description |
---|
ScenarioSimulationKogitoCreationPopupView() |
Modifier and Type | Method and Description |
---|---|
protected void |
enableCreateButtonForDMNScenario() |
String |
getSelectedPath() |
org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type |
getSelectedType() |
protected void |
initialize() |
protected void |
initializeDropdown() |
void |
onDmnClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onRuleClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
show(String mainTitleText,
org.uberfire.mvp.Command okCommand)
Makes the
ScenarioKogitoCreationPopup visible with OK/CANCEL. |
conditionalShow, conditionalShow, getElement, hide, init, onCancelClick, onOkClick, show
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hide
@Inject @DataField(value="rule-button") protected elemental2.dom.HTMLInputElement ruleButton
@Inject @DataField(value="dmn-button") protected elemental2.dom.HTMLInputElement dmnButton
@Inject @DataField(value="dmn-assets") protected elemental2.dom.HTMLDivElement dmnAssetsDivElement
@Inject protected elemental2.dom.HTMLLabelElement dmnAssetsLabelElement
@Inject @DataField(value="source-type-label") protected elemental2.dom.HTMLLabelElement sourceTypeLabelElement
@Inject @DataField(value="info-rule-icon") protected elemental2.dom.HTMLDivElement infoRuleIconDivElement
protected org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type selectedType
protected String selectedPath
@Inject protected ScenarioSimulationKogitoCreationAssetsDropdown scenarioSimulationKogitoCreationAssetsDropdown
public ScenarioSimulationKogitoCreationPopupView()
public void show(String mainTitleText, org.uberfire.mvp.Command okCommand)
ScenarioSimulationKogitoCreationPopup
ScenarioKogitoCreationPopup
visible with OK/CANCEL.show
in interface ScenarioSimulationKogitoCreationPopup
protected void initialize()
public org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type getSelectedType()
getSelectedType
in interface ScenarioSimulationKogitoCreationPopup
public String getSelectedPath()
getSelectedPath
in interface ScenarioSimulationKogitoCreationPopup
@EventHandler(value="dmn-button") public void onDmnClick(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="rule-button") public void onRuleClick(com.google.gwt.event.dom.client.ClickEvent event)
protected void initializeDropdown()
protected void enableCreateButtonForDMNScenario()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.