mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
Renaming query plan to execution plan (#18551)
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
|
||||
import type * as azdata from 'azdata';
|
||||
|
||||
export class QueryPlan2State {
|
||||
export class ExecutionPlanState {
|
||||
graphs: azdata.ExecutionPlanGraph[] = [];
|
||||
clearQueryPlan2State() {
|
||||
clearExecutionPlanState() {
|
||||
this.graphs = [];
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ import { QueryPlanState } from 'sql/workbench/common/editor/query/queryPlanState
|
||||
import { GridPanelState } from 'sql/workbench/common/editor/query/gridTableState';
|
||||
import { QueryModelViewState } from 'sql/workbench/common/editor/query/modelViewState';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { QueryPlan2State } from 'sql/workbench/common/editor/query/queryPlan2State';
|
||||
import { ExecutionPlanState } from 'sql/workbench/common/editor/query/executionPlanState';
|
||||
|
||||
export class ResultsViewState {
|
||||
public readonly gridPanelState: GridPanelState = new GridPanelState();
|
||||
@@ -20,7 +20,7 @@ export class ResultsViewState {
|
||||
public readonly queryPlanState: QueryPlanState = new QueryPlanState();
|
||||
public readonly topOperationsState = new TopOperationsState();
|
||||
public readonly dynamicModelViewTabsState: Map<string, QueryModelViewState> = new Map<string, QueryModelViewState>();
|
||||
public readonly queryPlan2State: QueryPlan2State = new QueryPlan2State();
|
||||
public readonly executionPlanState: ExecutionPlanState = new ExecutionPlanState();
|
||||
|
||||
public activeTab?: string;
|
||||
public readonly visibleTabs: Set<string> = new Set<string>();
|
||||
@@ -29,7 +29,7 @@ export class ResultsViewState {
|
||||
this.gridPanelState.dispose();
|
||||
this.chartState.dispose();
|
||||
this.queryPlanState.dispose();
|
||||
this.queryPlan2State.clearQueryPlan2State();
|
||||
this.executionPlanState.clearExecutionPlanState();
|
||||
this.dynamicModelViewTabsState.forEach((state: QueryModelViewState, identifier: string) => {
|
||||
state.dispose();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user