mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -05:00
23 lines
953 B
TypeScript
23 lines
953 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
export abstract class ExecutionPlanWidgetBase {
|
|
/**
|
|
*
|
|
* @param container HTML Element that contains the UI for the plan action view.
|
|
* @param identifier Uniquely identify the view to be added or removed. Note: Only 1 view with the same id can be added to the controller
|
|
*/
|
|
constructor(public container: HTMLElement, public identifier: string) {
|
|
this.container = container;
|
|
this.identifier = identifier;
|
|
}
|
|
|
|
/**
|
|
* This method is called when the view is added to PlanActionView.
|
|
* Generally, the view should focus the first input element in the view
|
|
*/
|
|
public abstract focus();
|
|
}
|