UNPKG

2.07 kBJavaScriptView Raw
1// Copyright (c) Jupyter Development Team.
2// Distributed under the terms of the Modified BSD License.
3import { Token } from '@lumino/coreutils';
4/**
5 * The command palette token.
6 */
7export const ICommandPalette = new Token('@jupyterlab/apputils:ICommandPalette', `A service for the application command palette
8 in the left panel. Use this to add commands to the palette.`);
9/**
10 * The kernel status indicator model.
11 */
12export const IKernelStatusModel = new Token('@jupyterlab/apputils:IKernelStatusModel', 'A service to register kernel session provider to the kernel status indicator.');
13/**
14 * The session context dialogs token.
15 */
16export const ISessionContextDialogs = new Token('@jupyterlab/apputils:ISessionContextDialogs', 'A service for handling the session dialogs.');
17/**
18 * The theme manager token.
19 */
20export const IThemeManager = new Token('@jupyterlab/apputils:IThemeManager', 'A service for the theme manager for the application. This is used primarily in theme extensions to register new themes.');
21/**
22 * The sanitizer token.
23 */
24export const ISanitizer = new Token('@jupyterlab/apputils:ISanitizer', 'A service for sanitizing HTML strings.');
25/**
26 * The main menu token.
27 */
28export const ISplashScreen = new Token('@jupyterlab/apputils:ISplashScreen', `A service for the splash screen for the application.
29 Use this if you want to show the splash screen for your own purposes.`);
30/**
31 * The default window resolver token.
32 */
33export const IWindowResolver = new Token('@jupyterlab/apputils:IWindowResolver', `A service for a window resolver for the
34 application. JupyterLab workspaces are given a name, which are determined using
35 the window resolver. Require this if you want to use the name of the current workspace.`);
36/**
37 * The toolbar registry token.
38 */
39export const IToolbarWidgetRegistry = new Token('@jupyterlab/apputils:IToolbarWidgetRegistry', `A registry for toolbar widgets. Require this
40 if you want to build the toolbar dynamically from a data definition (stored in settings for example).`);
41//# sourceMappingURL=tokens.js.map
\No newline at end of file