mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from master
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
'use strict';
|
||||
|
||||
import { IPanelService } from 'vs/workbench/services/panel/common/panelService';
|
||||
import { ActivitybarPart } from 'vs/workbench/browser/parts/activitybar/activitybarPart';
|
||||
import { PanelPart } from 'vs/workbench/browser/parts/panel/panelPart';
|
||||
@@ -28,4 +26,9 @@ export class ActivityService implements IActivityService {
|
||||
|
||||
return this.activitybarPart.showActivity(compositeOrActionId, badge, clazz, priority);
|
||||
}
|
||||
|
||||
getPinnedViewletIds(): string[] {
|
||||
return this.activitybarPart.getPinnedViewletIds();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
'use strict';
|
||||
|
||||
import { IDisposable } from 'vs/base/common/lifecycle';
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
|
||||
@@ -67,4 +65,9 @@ export interface IActivityService {
|
||||
* Show activity in the panel for the given panel or in the activitybar for the given viewlet or global action.
|
||||
*/
|
||||
showActivity(compositeOrActionId: string, badge: IBadge, clazz?: string, priority?: number): IDisposable;
|
||||
|
||||
/**
|
||||
* Returns id of pinned viewlets following the visual order
|
||||
*/
|
||||
getPinnedViewletIds(): string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user