import { ExtensionContext , TreeItemCollapsibleState } from 'vscode' ; import { decorateLocale } from '~/utils' ; import { BaseTreeItem } from './Base' ; import { Coverage } from '~/core' ; export abstract class ProgressBaseItem extends BaseTreeItem { constructor ( public readonly ctx , public readonly node ) { super ( ctx ) ; } getLabel ( ) { return decorateLocale ( this . node . locale ) ; } collapsibleState = TreeItemCollapsibleState . Collapsed ; }