Readd Top Operations (#3628)

* workin on top operations

* added top operations, changed default sorter to handle number string better
This commit is contained in:
Anthony Dresser
2019-01-09 13:52:38 -08:00
committed by GitHub
parent 7ba4f42494
commit 589b913960
5 changed files with 174 additions and 3 deletions

View File

@@ -9,18 +9,20 @@ import { localize } from 'vs/nls';
import { TPromise } from 'vs/base/common/winjs.base';
import { EditorInput } from 'vs/workbench/common/editor';
import { Emitter } from 'vs/base/common/event';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { GridPanelState } from 'sql/parts/query/editor/gridPanel';
import { MessagePanelState } from 'sql/parts/query/editor/messagePanel';
import { QueryPlanState } from 'sql/parts/queryPlan/queryPlan';
import { ChartState } from 'sql/parts/query/editor/charting/chartView';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { TopOperationsState } from 'sql/parts/queryPlan/topOperations';
export class ResultsViewState {
public gridPanelState: GridPanelState = new GridPanelState();
public messagePanelState: MessagePanelState = new MessagePanelState(this.configurationService);
public chartState: ChartState = new ChartState();
public queryPlanState: QueryPlanState = new QueryPlanState();
public topOperationsState = new TopOperationsState();
public gridPanelSize: number;
public messagePanelSize: number;
public activeTab: string;