const { statusIcon } = require("./StatusIcon"); class SystemTreeItem extends TreeItem { constructor(row) { super(row.label, TreeItemCollapsibleState.None); this.identifier = row.identifier; this.contextValue = row.contextValue; this.descriptiveText = row.description || ""; this.tooltip = row.tooltip || row.label; this.image = row.running === undefined ? row.image || "icons/system.png" : statusIcon(row.running); } } module.exports = { SystemTreeItem };