All files / views/trees/definition-tree/nodes/validators validator-node.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 3/3
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                  1x       2x       1x    
import * as vscode from "vscode";
import { _SH } from "@faubulous/mentor-rdf";
import { DefinitionTreeNode } from "../../definition-tree-node";
 
/**
 * Node of a SHACL validator in the definition tree.
 */
export class ValidatorNode extends DefinitionTreeNode {
	override getIcon() {
		return new vscode.ThemeIcon('rdf-class', this.getIconColor());
	}
 
	override getIconColor() {
		return new vscode.ThemeColor("mentor.color.class");
	}
 
	override getResourceUri(): vscode.Uri | undefined {
		return undefined;
	}
}