[jboss-jira] [JBoss JIRA] (DROOLS-3555) Implement cheatsheet for DMN simulation

Daniele Zonca (Jira) issues at jboss.org
Fri Jan 25 12:08:00 EST 2019


Daniele Zonca created DROOLS-3555:
-------------------------------------

             Summary: 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


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 :-)



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list