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 ScenarioGridLayer |
scenarioGridLayer |
protected ScenarioGridPanel |
scenarioGridPanel |
protected ScenarioSimulationEditorPresenter |
scenarioSimulationEditorPresenter |
protected ScenarioSimulationContext.Status |
status |
protected TestToolsView.Presenter |
testToolsPresenter |
protected org.uberfire.mvp.PlaceRequest |
testToolsRequest |
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 TestToolsView.Presenter testToolsPresenter
protected SortedMap<String,FactModelTree> dataObjectFieldsMap
protected ScenarioSimulationContext.Status status
protected org.uberfire.client.mvp.PlaceManager placeManager
protected org.uberfire.mvp.PlaceRequest testToolsRequest
public ScenarioSimulationContext(ScenarioGridPanel scenarioGridPanel)
ScenarioGridPanel
, ScenarioGridLayer
and ScenarioGridModel
from the give ScenarioGridPanel
scenarioGridPanel
- public ScenarioSimulationContext.Status getStatus()
Status
public void setStatus(ScenarioSimulationContext.Status status)
Status
inside this contextstatus
- public ScenarioSimulationEditorPresenter getScenarioSimulationEditorPresenter()
public void setScenarioSimulationEditorPresenter(ScenarioSimulationEditorPresenter scenarioSimulationEditorPresenter)
public TestToolsView.Presenter getTestToolsPresenter()
public void setTestToolsPresenter(TestToolsView.Presenter testToolsPresenter)
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 getTestToolsRequest()
public void setTestToolsRequest(org.uberfire.mvp.PlaceRequest testToolsRequest)
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.