@Dependent @Named(value="SettingsDropdown") public class SettingsScenarioSimulationDropdown extends ScenarioSimulationDropdown
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME |
protected String |
currentValue |
protected org.uberfire.mvp.Command |
onMissingValueHandler |
| Constructor and Description |
|---|
SettingsScenarioSimulationDropdown(SettingsScenarioSimulationDropdownView view,
ScenarioSimulationAssetsDropdownProvider dataProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assetListConsumerMethod(List<org.kie.workbench.common.widgets.client.assets.dropdown.KieAssetsDropdownItem> assetList) |
protected boolean |
isValuePresentInKieAssets(String value)
It navigate over the kieAssets list to check if a value is present.
|
void |
loadAssets(String currentValue)
It loads the DMN assets and it sets currentValue variable.
|
void |
registerOnMissingValueHandler(org.uberfire.mvp.Command onMissingValueHandler) |
asWidgetpublic static final String BEAN_NAME
protected String currentValue
protected org.uberfire.mvp.Command onMissingValueHandler
@Inject
public SettingsScenarioSimulationDropdown(@Named(value="SettingsDropdownView")
SettingsScenarioSimulationDropdownView view,
ScenarioSimulationAssetsDropdownProvider dataProvider)
public void loadAssets(String currentValue)
currentValue - public void registerOnMissingValueHandler(org.uberfire.mvp.Command onMissingValueHandler)
protected void assetListConsumerMethod(List<org.kie.workbench.common.widgets.client.assets.dropdown.KieAssetsDropdownItem> assetList)
assetListConsumerMethod in class org.kie.workbench.common.widgets.client.assets.dropdown.AbstractKieAssetsDropdownprotected boolean isValuePresentInKieAssets(String value)
value - Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.