import * as vscode from "vscode" ; import { ITreeItem } from "./ITreeItem" ; import { MavenPlugin } from "./MavenPlugin" ; export class PluginGoal implements ITreeItem { public plugin : MavenPlugin ; public name : string ; constructor ( plugin , name ) { this . plugin = plugin ; this . name = name ; } public getContextValue ( ) { return "maven:pluginGoal" ; } public getTreeItem ( ) { return new vscode . TreeItem ( this . name , vscode . TreeItemCollapsibleState . None ) ; } }