mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -6,7 +6,6 @@
|
|||||||
import { ManageAction, ManageActionContext } from 'sql/workbench/common/actions';
|
import { ManageAction, ManageActionContext } from 'sql/workbench/common/actions';
|
||||||
import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement';
|
import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement';
|
||||||
import { IAngularEventingService } from 'sql/platform/angularEventing/common/angularEventingService';
|
import { IAngularEventingService } from 'sql/platform/angularEventing/common/angularEventingService';
|
||||||
import { IEditorProgressService } from 'vs/platform/progress/common/progress';
|
|
||||||
import { ExecuteCommandAction } from 'vs/platform/actions/common/actions';
|
import { ExecuteCommandAction } from 'vs/platform/actions/common/actions';
|
||||||
|
|
||||||
export class ExplorerManageAction extends ManageAction {
|
export class ExplorerManageAction extends ManageAction {
|
||||||
@@ -15,14 +14,12 @@ export class ExplorerManageAction extends ManageAction {
|
|||||||
id: string, label: string,
|
id: string, label: string,
|
||||||
@IConnectionManagementService connectionManagementService: IConnectionManagementService,
|
@IConnectionManagementService connectionManagementService: IConnectionManagementService,
|
||||||
@IAngularEventingService angularEventingService: IAngularEventingService,
|
@IAngularEventingService angularEventingService: IAngularEventingService,
|
||||||
@IEditorProgressService private _progressService: IEditorProgressService
|
|
||||||
) {
|
) {
|
||||||
super(id, label, connectionManagementService, angularEventingService);
|
super(id, label, connectionManagementService, angularEventingService);
|
||||||
}
|
}
|
||||||
|
|
||||||
public run(actionContext: ManageActionContext): Promise<boolean> {
|
public run(actionContext: ManageActionContext): Promise<boolean> {
|
||||||
const promise = super.run(actionContext);
|
const promise = super.run(actionContext);
|
||||||
this._progressService.showWhile(promise);
|
|
||||||
return promise;
|
return promise;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user