Add support for "More Actions" column in Resource Viewer (#13093)

* Add support for "More Actions" column in resource viewer

* update provider

* remove import

* Use menu contribution and make actions column always show

* cleanup

* move context menu anchor

* Comments
This commit is contained in:
Charles Gagnon
2020-10-29 10:50:27 -07:00
committed by GitHub
parent 10f6fe2d09
commit 66da2a46c5
12 changed files with 189 additions and 43 deletions

View File

@@ -135,6 +135,7 @@ export class MenuId {
static readonly DashboardToolbar = new MenuId('DashboardToolbar'); // {{SQL CARBON EDIT}}
static readonly NotebookTitle = new MenuId('NotebookTitle'); // {{SQL CARBON EDIT}}
static readonly ConnectionDialogBrowseTreeContext = new MenuId('ConnectionDialogBrowseTreeContext'); // {{SQL CARBON EDIT}}
static readonly DataGridItemContext = new MenuId('DataGridItemContext'); // {{SQL CARBON EDIT}}
static readonly TimelineItemContext = new MenuId('TimelineItemContext');
static readonly TimelineTitle = new MenuId('TimelineTitle');
static readonly TimelineTitleContext = new MenuId('TimelineTitleContext');

View File

@@ -210,7 +210,12 @@ const apiMenus: IAPIMenu[] = [
key: 'connectionDialog/browseTree',
id: MenuId.ConnectionDialogBrowseTreeContext,
description: localize('connectionDialogBrowseTree.context', "The connection dialog's browse tree context menu")
}
},
{
key: 'dataGrid/item/context',
id: MenuId.DataGridItemContext,
description: localize('dataGrid.context', "The data grid item context menu")
},
// {{SQL CARBON EDIT}} end menu entries
];