@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 |
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, setup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCurrentlyShow, setCurrentPath
public 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)
public void setScenarioType(org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type scenarioType, org.drools.scenariosimulation.api.model.SimulationDescriptor simulationDescriptor, String fileName)
setScenarioType
in interface SettingsView.Presenter
public void setSaveCommand(org.uberfire.mvp.Command saveCommand)
setSaveCommand
in interface SettingsView.Presenter
public void onSaveButton(String scenarioType)
onSaveButton
in interface SettingsView.Presenter
public void reset()
SubDockView.Presenter
SubDock
componentreset
in interface SubDockView.Presenter
protected 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.