mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 05:21:08 +01:00
24 lines
986 B
TypeScript
24 lines
986 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
|
import { IBadge } from 'vs/workbench/services/activity/common/activity';
|
|
import { IDisposable } from 'vs/base/common/lifecycle';
|
|
|
|
export const IActivityBarService = createDecorator<IActivityBarService>('activityBarService');
|
|
|
|
export interface IActivityBarService {
|
|
_serviceBrand: undefined;
|
|
|
|
/**
|
|
* Show an activity in a viewlet.
|
|
*/
|
|
showActivity(viewletOrActionId: string, badge: IBadge, clazz?: string, priority?: number): IDisposable;
|
|
|
|
/**
|
|
* Returns id of pinned viewlets following the visual order.
|
|
*/
|
|
getPinnedViewletIds(): string[];
|
|
} |