protected override TestTreeNode CreateTreeNode(string path, string label, int level, bool isFolder, bool isActive, bool isHidden, bool isCollapsed, bool isChecked, TestTreeData?treeData, bool isContainer) { if (traceLogging) { Logger.Trace( "CreateTreeNode(path: {0}, label: {1}, level: {2}, isFolder: {3}, " + "isActive: {4}, isHidden: {5}, isCollapsed: {6}, isChecked: {7}, treeData: {8})", path, label, level, isFolder, isActive, isHidden, isCollapsed, isChecked, treeData?.ToString() ?? "[NULL]"); } TestTreeListener.CreateTreeNode(path, label, level, isFolder, isActive, isHidden, isCollapsed, isChecked, treeData); var testTreeNode = new TestTreeNode { Path = path, Label = label, Level = level, CheckState = isChecked ? CheckState.Checked : CheckState.Empty, IsActive = isActive, IsFolder = isFolder, IsCollapsed = isCollapsed, IsHidden = isHidden, TreeData = treeData ?? TestTreeData.Default }; CreatedTreeNodes.Add(testTreeNode); return(testTreeNode); }
protected override void SetNodeIcon(TestTreeNode node) { if (traceLogging) { Logger.Trace("Set NodeIcon"); } TestTreeListener.SetNodeIcon(node); }
protected override void AddCheckedNode(TestTreeNode node) { if (traceLogging) { Logger.Trace("AddCheckedNode"); } TestTreeListener.AddCheckedNode(node); }
protected override IEnumerable <string> GetCollapsedFolders() { if (traceLogging) { Logger.Trace("GetCollapsedFolders"); } return(TestTreeListener.GetCollapsedFolders()); }
public override IEnumerable <string> GetCheckedFiles() { if (traceLogging) { Logger.Trace("GetCheckedFiles"); } return(TestTreeListener.GetCheckedFiles()); }
protected override void OnClear() { if (traceLogging) { Logger.Trace("OnClear"); } TestTreeListener.OnClear(); }