IFilteredPresentationTreeDataProvider Interface

Filtered presentation tree data provider.

Extends

Methods

Name Description
countFilteringResults(nodePaths: undefined): number Counts all filter matches.  
getActiveMatch(index: number): undefined | ActiveMatchInfo Returns active match for given index.  
nodeMatchesFilter(node: TreeNodeItem): boolean Checks whether node matches applied filter or not.  

Inherited methods

Name Inherited from Description
createRequestOptions(parentKey?: NodeKey, instanceFilter?: InstanceFilterDefinition): HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable> IPresentationTreeDataProvider Creates options for nodes request.
getFilteredNodePaths(filter: string): Promise<NodePathElement[]> IPresentationTreeDataProvider Returns filtered node paths.
getNodeKey(node: TreeNodeItem): NodeKey IPresentationTreeDataProvider Returns a NodeKey from given TreeNodeItem.

Properties

Name Type Description
filter string Applied filter.  

Inherited properties

Name Type Inherited from Description
imodel Readonly IModelConnection IPresentationTreeDataProvider IModelConnection used by this data provider
rulesetId Readonly string IPresentationTreeDataProvider Id of the ruleset used by this data provider

Defined in

Last Updated: 25 March, 2024