mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
New Operator, Alert and Proxy request handlers (#1846)
* Add agent dialog class * Rename agent dialog data classes * Alert dialog data updates * Create operator and proxy handlers
This commit is contained in:
@@ -28,7 +28,7 @@ export class MainController {
|
||||
public activate(): void {
|
||||
vscode.commands.registerCommand('agent.openCreateJobDialog', (ownerUri: string) => {
|
||||
let dialog = new JobDialog(ownerUri);
|
||||
dialog.showDialog();
|
||||
dialog.openDialog();
|
||||
});
|
||||
vscode.commands.registerCommand('agent.openNewStepDialog', (ownerUri: string, jobId: string, server: string, stepId: number) => {
|
||||
let dialog = new JobStepDialog(ownerUri, jobId, server, stepId);
|
||||
@@ -40,15 +40,15 @@ export class MainController {
|
||||
});
|
||||
vscode.commands.registerCommand('agent.openCreateAlertDialog', (ownerUri: string) => {
|
||||
let dialog = new AlertDialog(ownerUri);
|
||||
dialog.showDialog();
|
||||
dialog.openDialog();
|
||||
});
|
||||
vscode.commands.registerCommand('agent.openCreateOperatorDialog', (ownerUri: string) => {
|
||||
let dialog = new OperatorDialog(ownerUri);
|
||||
dialog.showDialog();
|
||||
dialog.openDialog();
|
||||
});
|
||||
vscode.commands.registerCommand('agent.openCreateProxyDialog', (ownerUri: string) => {
|
||||
let dialog = new ProxyDialog(ownerUri);
|
||||
dialog.showDialog();
|
||||
dialog.openDialog();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user