@ApplicationScoped public class SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PREFERRED_WIDHT |
static String |
IDENTIFIER |
protected org.uberfire.mvp.Command |
saveCommand |
protected org.drools.scenariosimulation.api.model.SimulationDescriptor |
simulationDescriptor |
currentPath, title, view| Constructor and Description |
|---|
SettingsPresenter() |
SettingsPresenter(SettingsView view) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
onSaveButton(String scenarioType) |
void |
reset()
It resets the current status of the
SubDock component |
protected void |
saveDMNSettings() |
protected void |
saveRuleSettings() |
protected void |
setDMNSettings(org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor) |
protected void |
setRuleSettings(org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor) |
void |
setSaveCommand(org.uberfire.mvp.Command saveCommand) |
void |
setScenarioType(org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type scenarioType,
org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor,
String fileName) |
asWidget, getDefaultPosition, getTitle, isCurrentlyShow, setCurrentPath, setupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCurrentlyShow, setCurrentPathpublic static final int DEFAULT_PREFERRED_WIDHT
public static final String IDENTIFIER
protected org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor
protected org.uberfire.mvp.Command saveCommand
public SettingsPresenter()
@Inject public SettingsPresenter(SettingsView view)
@PostConstruct public void init()
public void setScenarioType(org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type scenarioType,
org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor,
String fileName)
setScenarioType in interface SettingsView.Presenterpublic void setSaveCommand(org.uberfire.mvp.Command saveCommand)
setSaveCommand in interface SettingsView.Presenterpublic void onSaveButton(String scenarioType)
onSaveButton in interface SettingsView.Presenterpublic void reset()
SubDockView.PresenterSubDock componentreset in interface SubDockView.Presenterprotected void setRuleSettings(org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor)
protected void setDMNSettings(org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor)
protected void saveRuleSettings()
protected void saveDMNSettings()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.