mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add new ViewContainerLocation for dialogs (#11289)
This commit is contained in:
@@ -56,7 +56,7 @@ export const ACCOUNT_VIEW_CONTAINER = Registry.as<IViewContainersRegistry>(ViewC
|
|||||||
name: localize('accountExplorer.name', "Accounts"),
|
name: localize('accountExplorer.name', "Accounts"),
|
||||||
ctorDescriptor: new SyncDescriptor(AccountPaneContainer),
|
ctorDescriptor: new SyncDescriptor(AccountPaneContainer),
|
||||||
storageId: `${VIEWLET_ID}.state`
|
storageId: `${VIEWLET_ID}.state`
|
||||||
}, ViewContainerLocation.Panel);
|
}, ViewContainerLocation.Dialog);
|
||||||
|
|
||||||
class AccountPanel extends ViewPane {
|
class AccountPanel extends ViewPane {
|
||||||
public index: number;
|
public index: number;
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ export namespace Extensions {
|
|||||||
|
|
||||||
export enum ViewContainerLocation {
|
export enum ViewContainerLocation {
|
||||||
Sidebar,
|
Sidebar,
|
||||||
Panel
|
Panel,
|
||||||
|
Dialog // {{SQL CARBON EDIT}}
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IViewContainerDescriptor {
|
export interface IViewContainerDescriptor {
|
||||||
|
|||||||
Reference in New Issue
Block a user