import * as vscode from "vscode" ; import { ITreeItem } from "./ITreeItem" ; import { MavenProject } from "./MavenProject" ; export class LifecyclePhase implements ITreeItem { constructor ( public project , public phase ) { } public getContextValue ( ) { return "maven:lifecycle" ; } public getTreeItem ( ) { const treeItem = new vscode . TreeItem ( this . phase , vscode . TreeItemCollapsibleState . None ) ; treeItem . iconPath = new vscode . ThemeIcon ( "gear" ) ; return treeItem ; } }