mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
Data explorer/context menu initial (#6264)
* fixed context for data explorer * added more files * initial servers and database context menu actions finished * added all actions for servers and databases with correct conditions * added nodetype and nodelabel for subtype actions * added nodeinfo logic to oe shim * fixed context for cms * added all scripting actions to data explorer * review comments * fix import * fix correct context key * removed unused import * separate PR for commands and menus added * rename mssql context menu nodes * remove command id constants
This commit is contained in:
@@ -95,6 +95,7 @@ export class CmsResourceTreeNode extends CmsResourceTreeNodeBase {
|
||||
item.contextValue = CmsResourceItemType.cmsNodeContainer;
|
||||
item.id = this._id;
|
||||
item.tooltip = this.description;
|
||||
item.type = azdata.ExtensionNodeType.Server;
|
||||
item.iconPath = {
|
||||
dark: this.appContext.extensionContext.asAbsolutePath('resources/light/centralmanagement_server.svg'),
|
||||
light: this.appContext.extensionContext.asAbsolutePath('resources/light/centralmanagement_server.svg')
|
||||
|
||||
@@ -55,6 +55,7 @@ export class RegisteredServerTreeNode extends CmsResourceTreeNodeBase {
|
||||
collapsibleState: TreeItemCollapsibleState.Collapsed,
|
||||
label: this.name ? this.name : this.serverName,
|
||||
childProvider: 'MSSQL',
|
||||
type: azdata.ExtensionNodeType.Server,
|
||||
iconPath: {
|
||||
dark: this.appContext.extensionContext.asAbsolutePath('resources/light/regserverserver.svg'),
|
||||
light: this.appContext.extensionContext.asAbsolutePath('resources/light/regserverserver.svg')
|
||||
|
||||
Reference in New Issue
Block a user