Class TagBrowseTreeFilter
java.lang.Object
com.inductiveautomation.factorypmi.application.components.tagbrowsetree.TagBrowseTreeFilter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTagBrowseTreeFilter
(TagBrowseTree browseTree, boolean includeRealtimeNoHistory, boolean includeRealtimeWithHistory) -
Method Summary
Modifier and TypeMethodDescriptionfilterTags
(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.
-
Field Details
-
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 functionincludeRealtimeNoHistory
- if true, realtime tags *without* history configured should be displayedincludeRealtimeWithHistory
- if true, realtime tags *with* history configured should be displayed
-
-
Method Details
-
filterTags
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.
-