public class ScenarioSimulationContext extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ScenarioSimulationContext.Status
Class representing the variable Status of the context
|
| Modifier and Type | Field and Description |
|---|---|
protected SortedMap<String,FactModelTree> |
dataObjectFieldsMap |
protected ScenarioGridModel |
model |
protected org.uberfire.client.mvp.PlaceManager |
placeManager |
protected RightPanelView.Presenter |
rightPanelPresenter |
protected org.uberfire.mvp.PlaceRequest |
rightPanelRequest |
protected ScenarioGridLayer |
scenarioGridLayer |
protected ScenarioGridPanel |
scenarioGridPanel |
protected ScenarioSimulationEditorPresenter |
scenarioSimulationEditorPresenter |
protected ScenarioSimulationContext.Status |
status |
| Constructor and Description |
|---|
ScenarioSimulationContext(ScenarioGridPanel scenarioGridPanel)
This constructor set
ScenarioGridPanel, ScenarioGridLayer and ScenarioGridModel
from the give ScenarioGridPanel |
protected ScenarioGridModel model
protected ScenarioGridPanel scenarioGridPanel
protected ScenarioGridLayer scenarioGridLayer
protected ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter
protected RightPanelView.Presenter rightPanelPresenter
protected SortedMap<String,FactModelTree> dataObjectFieldsMap
protected ScenarioSimulationContext.Status status
protected org.uberfire.client.mvp.PlaceManager placeManager
protected org.uberfire.mvp.PlaceRequest rightPanelRequest
public ScenarioSimulationContext(ScenarioGridPanel scenarioGridPanel)
ScenarioGridPanel, ScenarioGridLayer and ScenarioGridModel
from the give ScenarioGridPanelscenarioGridPanel - public ScenarioSimulationContext.Status getStatus()
Statuspublic void setStatus(ScenarioSimulationContext.Status status)
Status inside this contextstatus - public ScenarioSimulationEditorPresenter getScenarioSimulationEditorPresenter()
public void setScenarioSimulationEditorPresenter(ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter)
public RightPanelView.Presenter getRightPanelPresenter()
public void setRightPanelPresenter(RightPanelView.Presenter rightPanelPresenter)
public SortedMap<String,FactModelTree> getDataObjectFieldsMap()
public void setDataObjectFieldsMap(SortedMap<String,FactModelTree> dataObjectFieldsMap)
public ScenarioGridPanel getScenarioGridPanel()
public ScenarioGridModel getModel()
public ScenarioGridLayer getScenarioGridLayer()
public org.uberfire.client.mvp.PlaceManager getPlaceManager()
public void setPlaceManager(org.uberfire.client.mvp.PlaceManager placeManager)
public org.uberfire.mvp.PlaceRequest getRightPanelRequest()
public void setRightPanelRequest(org.uberfire.mvp.PlaceRequest rightPanelRequest)
public void setStatusSimulationIfEmpty()
Status' simulation is populated, since Simulation
is set inside the model after the creation ot the current instancepublic long getId()
public CollectionEditorSingletonDOMElementFactory getCollectionEditorSingletonDOMElementFactory()
public ScenarioCellTextAreaSingletonDOMElementFactory getScenarioCellTextAreaSingletonDOMElementFactory()
public ScenarioHeaderTextBoxSingletonDOMElementFactory getScenarioHeaderTextBoxSingletonDOMElementFactory()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.