A manager of running items grouped under a single section.

interface IManager {
    name: string;
    runningChanged: ISignal<any, any>;
    shutdownAllConfirmationText?: string | (() => string);
    shutdownAllLabel?: string;
    shutdownItemIcon?: LabIcon;
    shutdownLabel?: string | ((item) => string);
    supportsMultipleViews?: boolean;
    toolbarButtons?: (ToolbarButton | CommandToolbarButton)[];
    refreshRunning(): void;
    running(options): IRunningItem[];
    shutdownAll(): void;
}

Properties

name: string

Name that is shown to the user in plural.

runningChanged: ISignal<any, any>

A signal that should be emitted when the item list has changed.

shutdownAllConfirmationText?: string | (() => string)

A string used as the body text in the shutdown all confirmation dialog.

Type declaration

    • (): string
    • Returns string

shutdownAllLabel?: string

A string used to describe the shutdown all action.

shutdownItemIcon?: LabIcon

The icon to show for shutting down an individual item in this section.

shutdownLabel?: string | ((item) => string)

A string used to describe the shutdown action.

Type declaration

supportsMultipleViews?: boolean

Whether the manager supports tree view for its items or only a flat list.

toolbarButtons?: (ToolbarButton | CommandToolbarButton)[]

Used to add arbitrary buttons to this section

Methods