Add AsyncServerTree (#11838)

* wip

* Fixes

* More fixes

* more fixes

* Disable when preview features disabled

* remove unused imports

* Handle promises

* PR feedback

* Single default ServerGroup color value
This commit is contained in:
Charles Gagnon
2020-08-19 14:01:10 -07:00
committed by GitHub
parent d2e4eeac88
commit 3c538d1c2d
37 changed files with 1654 additions and 506 deletions

View File

@@ -23,6 +23,7 @@ export class ConnectionProfileGroup extends Disposable implements IConnectionPro
private _childConnections: ConnectionProfile[] = [];
public parentId?: string;
private _isRenamed = false;
public readonly isRoot: boolean = false;
public constructor(
public name: string,
public parent: ConnectionProfileGroup | undefined,
@@ -34,6 +35,7 @@ export class ConnectionProfileGroup extends Disposable implements IConnectionPro
this.parentId = parent ? parent.id : undefined;
if (this.name === ConnectionProfileGroup.RootGroupName) {
this.name = '';
this.isRoot = true;
}
}