mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 01:25:38 -05:00
* Add arc tree data provider tests * Generic ResourceModel * no message * undo * Fix compile error
18 lines
802 B
TypeScript
18 lines
802 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as vscode from 'vscode';
|
|
import { ResourceModel } from '../../models/resourceModel';
|
|
import { TreeNode } from './treeNode';
|
|
|
|
/**
|
|
* A TreeNode belonging to a child of a Controller
|
|
*/
|
|
export abstract class ResourceTreeNode<M extends ResourceModel> extends TreeNode {
|
|
constructor(label: string, collapsibleState: vscode.TreeItemCollapsibleState, resourceType: string, public model: M) {
|
|
super(label, collapsibleState, resourceType);
|
|
}
|
|
}
|