Interface IGUIConfigurationContainer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addFilter​(org.eclipse.jface.viewers.ViewerFilter filter)
      Adds the given filter to the viewer, and triggers refiltering and resorting of the elements.
      Configuration getConfig()
      Returns the configuration instance.
      GUIConfiguration getGuiConfig()
      Returns the GUI configuration instance.
      void removeFilter​(org.eclipse.jface.viewers.ViewerFilter filter)
      Removes the given filter from the viewer, and triggers refiltering and resorting of the elements if required.
      void setFilters​(org.eclipse.jface.viewers.ViewerFilter[] filters)
      Sets the filters, replacing any previous filters, and triggers refiltering and resorting of the elements.
      void updateItem​(GUIVariable variable)
      Informs the container that a single item has changed (not added/deleted).
    • Method Detail

      • getGuiConfig

        GUIConfiguration getGuiConfig()
        Returns the GUI configuration instance.
        Returns:
        the GUI configuration instance
      • addFilter

        void addFilter​(org.eclipse.jface.viewers.ViewerFilter filter)
        Adds the given filter to the viewer, and triggers refiltering and resorting of the elements. If you want to add more than one filter consider using setFilters(ViewerFilter[]).
        Parameters:
        filter - a viewer filter
      • setFilters

        void setFilters​(org.eclipse.jface.viewers.ViewerFilter[] filters)
        Sets the filters, replacing any previous filters, and triggers refiltering and resorting of the elements.
        Parameters:
        filters - An array of viewer filters, must not be null
      • removeFilter

        void removeFilter​(org.eclipse.jface.viewers.ViewerFilter filter)
        Removes the given filter from the viewer, and triggers refiltering and resorting of the elements if required. Has no effect if the identical filter is not registered. If you want to remove more than one filter consider using setFilters(ViewerFilter[]).
        Parameters:
        filter - A viewer filter
        See Also:
        setFilters(ViewerFilter[])
      • getConfig

        Configuration getConfig()
        Returns the configuration instance.
        Returns:
        the configuration instance
      • updateItem

        void updateItem​(GUIVariable variable)
        Informs the container that a single item has changed (not added/deleted). This is much more efficient than to refresh the whole container and in case of an editor, does not force to collapse open items.
        Parameters:
        variable - The item which has been modified (not added or deleted).