java.lang.Object
com.inductiveautomation.factorypmi.application.components.tagbrowsetree.TagBrowseTreeFilter

public class TagBrowseTreeFilter extends Object
  • Field Details

    • browseTree

      public final TagBrowseTree browseTree
    • includeRealtimeNoHistory

      public final boolean includeRealtimeNoHistory
    • includeRealtimeWithHistory

      public final boolean includeRealtimeWithHistory
  • Constructor Details

    • TagBrowseTreeFilter

      public TagBrowseTreeFilter(TagBrowseTree browseTree, boolean includeRealtimeNoHistory, boolean includeRealtimeWithHistory)
      Parameters:
      browseTree - the TagBrowseTree instance that is providing the filter. Needed to call the filterTag extension function
      includeRealtimeNoHistory - if true, realtime tags *without* history configured should be displayed
      includeRealtimeWithHistory - if true, realtime tags *with* history configured should be displayed
  • Method Details

    • filterTags

      public List<BrowseTreeNode> filterTags(List<BrowseTreeNode> children)
      Takes in a list of BrowseTreeNodes and runs the "filterTag" extension function on them, which is defined by the user in the TagBrowseTree. Also filters "tag-history-enabled" on realtime tags based on the passed filter.