import * as mysql from "mysql" ; import * as path from "path" ; import * as vscode from "vscode" ; import { AppInsightsClient } from "../common/appInsightsClient" ; import { Global } from "../common/global" ; import { OutputChannel } from "../common/outputChannel" ; import { Utility } from "../common/utility" ; import { InfoNode } from "./infoNode" ; import { INode } from "./INode" ; export class ColumnNode implements INode { constructor ( private readonly host , private readonly user , private readonly password , private readonly port , private readonly database , private readonly column ) { } public getTreeItem ( ) { return { label : `${ this . column . COLUMN_NAME } : ${ this . column . COLUMN_TYPE }     \n${ this . column . COLUMN_COMMENT }` , collapsibleState : vscode . TreeItemCollapsibleState . None , contextValue : "column" , iconPath : path . join ( __filename , ".." , ".." , ".." , "resources" , this . column . COLUMN_KEY === "PRI" ? "b_primary.png" : "b_props.png" ) , } ; } public async getChildren ( ) { return [ ] ; } }