]
Daniele Zonca updated DROOLS-3555:
----------------------------------
Sprint: 2019 Week 05-07
Implement cheatsheet for DMN simulation
---------------------------------------
Key: DROOLS-3555
URL:
https://issues.jboss.org/browse/DROOLS-3555
Project: Drools
Issue Type: Task
Components: Scenario Simulation and Testing
Reporter: Daniele Zonca
Assignee: Anna Baker
Priority: Major
Labels: ScenarioSimulation
Cheatsheet panel is hardcoded and it is specific for Rule testing and need to be extended
for DMN simulations. This means that the content of that panel should be dynamically
loaded based on the type of the file
Steps
1. Create two i18n entries with Rule and DMN cheatsheet text (RightPanelViewImpl.html)
2. Create new dataField in RightPanelViewImpl for dynamic cheatsheet text loading
(~cheatsheetContent or similar)
3. Create a method "initCheatsheet(ScenarioSimulationModel.Type type)" in
RightPanelPresenter that based on the value of the parameter set the proper content to the
data field
4. Extend ScenarioSimulationEditorPresenter.populateRightPanel() to call the
initCheatsheet method on the right panel presenter (
model.getSimulation().getSimulationDescriptor().getType() )
5. Add tests :-)