mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
Initial work for custom model view dialogs (#1183)
This commit is contained in:
@@ -280,10 +280,19 @@ export function createApiFactory(
|
||||
}
|
||||
};
|
||||
|
||||
const modelViewDialog: typeof sqlops.window.modelviewdialog = {
|
||||
// TODO mairvine 4/18/18: Implement the extension layer for custom dialogs
|
||||
createDialog(title: string): sqlops.window.modelviewdialog.Dialog { return undefined; },
|
||||
createTab(title: string): sqlops.window.modelviewdialog.DialogTab { return undefined; },
|
||||
createButton(label: string): sqlops.window.modelviewdialog.Button { return undefined; }
|
||||
};
|
||||
|
||||
const window: typeof sqlops.window = {
|
||||
createDialog(name: string) {
|
||||
return extHostModalDialogs.createDialog(name);
|
||||
}
|
||||
},
|
||||
|
||||
modelviewdialog: modelViewDialog
|
||||
};
|
||||
|
||||
const tasks: typeof sqlops.tasks = {
|
||||
|
||||
Reference in New Issue
Block a user