Interface ListGroupItemView.Presenter

    • Method Detail

      • enable

        void enable()
        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)
      • enable

        void enable​(String factName)
        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)
        Parameters:
        factName -
      • disable

        void disable()
      • getDivElement

        com.google.gwt.dom.client.DivElement getDivElement​(String factName,
                                                           org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)
        This method returns a top-level DivElement representing a complex (i.e. expandable) property, i.e. a class containing other properties
        Parameters:
        factName -
        factModelTree -
      • getDivElement

        com.google.gwt.dom.client.DivElement getDivElement​(List<String> parentPath,
                                                           String factName,
                                                           String factModelTreeClass)
        This method returns a nested DivElement representing a complex (i.e. expandable) property, i.e. a class containing other properties
        Parameters:
        parentPath - the parent path
        factName - the property' name
        factModelTreeClass - the property' type
      • onToggleRowExpansion

        void onToggleRowExpansion​(ListGroupItemView listGroupItemView,
                                  boolean currentlyShown)
      • onSelectedElement

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

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

        void unselectAll()
      • showAll

        void showAll()
      • selectProperty

        void selectProperty​(String factName,
                            List<String> propertyParts)
        Expand the node and select the given property
        Parameters:
        factName -
        propertyParts -
      • hideProperty

        void hideProperty​(String factName,
                          List<String> propertyParts)
        Hide the node of the given property
        Parameters:
        factName -
        propertyParts -
      • isInstanceAssigned

        boolean isInstanceAssigned​(String factName)
      • setInstanceAssigned

        void setInstanceAssigned​(String factName,
                                 boolean assigned)
      • reset

        void reset()
      • getFilterTerm

        String getFilterTerm()