Interface TestToolsView.Presenter

    • Method Detail

      • onClearSearch

        void onClearSearch()
      • onUndoSearch

        void onUndoSearch()
      • onClearStatus

        void onClearStatus()
      • onShowClearButton

        void onShowClearButton()
      • onSearchedEvent

        void onSearchedEvent​(String search)
        Filter the data in the right panel if they contains the given search string, case-unsensitive. To be used by manual search
        Parameters:
        search -
      • onPerfectMatchSearchedEvent

        void onPerfectMatchSearchedEvent​(String search,
                                         boolean notEqualsSearch)
        Filter the data in the right panel if they are exactly the same as the given search string, case-sensitive. To be used by filter fired by grid.
        Parameters:
        search -
        notEqualsSearch - set to true to perform a not filter, i.e. to show only results different than filterTerm
      • clearDataObjectList

        void clearDataObjectList()
      • clearSimpleJavaTypeList

        void clearSimpleJavaTypeList()
      • clearInstanceList

        void clearInstanceList()
      • clearSimpleJavaInstanceFieldList

        void clearSimpleJavaInstanceFieldList()
      • updateInstanceListSeparator

        void updateInstanceListSeparator()
      • addDataObjectListGroupItemView

        void addDataObjectListGroupItemView​(String factName,
                                            org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)
      • addSimpleJavaTypeListGroupItemView

        void addSimpleJavaTypeListGroupItemView​(String factName,
                                                org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)
      • addInstanceListGroupItemView

        void addInstanceListGroupItemView​(String factName,
                                          org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)
      • addSimpleJavaInstanceListGroupItemView

        void addSimpleJavaInstanceListGroupItemView​(String factName,
                                                    org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)
      • hideInstances

        void hideInstances()
        Method to hide all the instance-related html
      • setEventBus

        void setEventBus​(com.google.gwt.event.shared.EventBus eventBus)
      • showInstanceListContainerSeparator

        void showInstanceListContainerSeparator​(boolean show)
      • getFactModelTreeFromFactTypeMap

        Optional<org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree> getFactModelTreeFromFactTypeMap​(String factName)
      • getFactModelTreeFromSimpleJavaTypeMap

        Optional<org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree> getFactModelTreeFromSimpleJavaTypeMap​(String factName)
      • getFactModelTreeFromInstanceMap

        Optional<org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree> getFactModelTreeFromInstanceMap​(String factName)
      • getFactModelTreeFromSimpleJavaInstanceMap

        Optional<org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree> getFactModelTreeFromSimpleJavaInstanceMap​(String factName)
      • getFactModelTreeFromHiddenMap

        org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree getFactModelTreeFromHiddenMap​(String factName)
      • onEnableEditorTab

        void onEnableEditorTab()
        By default the Editor Tab is disabled (no user interaction allowed). Use this when click on grid' instance header. Call this method to show all the first-level data models enabled (i.e. double-clickable to map to an instance header/column) and their properties disabled (i.e. not double-clickable)
      • onEnableEditorTab

        void onEnableEditorTab​(String factName,
                               List<String> propertyNameElements,
                               boolean notEqualsSearch)
        By default the Editor Tab is disabled (no user interaction allowed). Use this when click on grid' property header. Call this method to show only the data model with the given name, disabled (i.e. not double-clickable) and their properties enabled (i.e. double-clickable to map to a property header/column below the belonging data model instance one)
        Parameters:
        factName -
        propertyNameElements - The List to eventually use to select the property in the test tools panel
        notEqualsSearch - set to true to perform a not filter, i.e. to show only results different than filterTerm
      • onDisableEditorTab

        void onDisableEditorTab()
        By default the Editor Tab must be disabled (no user interaction allowed). It is enabled only by click on grid' header
      • onModifyColumn

        void onModifyColumn()
        Method to fire a SetPropertyHeaderScenarioSImulationCommand or SetPropertyHeaderScenarioSImulationCommand, depending on the element currently selected
      • setSelectedElement

        void setSelectedElement​(ListGroupItemView selected)
        Method to set the "selected" information - use this to set the instance level header
        Parameters:
        selected -
      • setSelectedElement

        void setSelectedElement​(FieldItemView selected)
        Method to set the "selected" information - use this to set the property level header
        Parameters:
        selected -
      • clearSelection

        void clearSelection()