A set of options which define the basic properties of a status bar item for a simple tool.

interface ISimpleToolStatusBarOptions {
    alignment: EditorStatusBarAlignment;
    displayAltText: string;
    onFinalize?: (statusBar: ISimpleToolStatusBarComponent) => void;
    onHide?: (statusBar: ISimpleToolStatusBarComponent) => void;
    onShow?: (statusBar: ISimpleToolStatusBarComponent) => void;
    onTeardown?: (statusBar: ISimpleToolStatusBarComponent) => void;
    size: number;
    visibility?: SimpleToolStatusBarVisibility;
}

Properties

The alignment of the status bar item within the parent status bar container

displayAltText: string

The text for the status bar item

onFinalize?: (statusBar: ISimpleToolStatusBarComponent) => void
onHide?: (statusBar: ISimpleToolStatusBarComponent) => void
onShow?: (statusBar: ISimpleToolStatusBarComponent) => void
onTeardown?: (statusBar: ISimpleToolStatusBarComponent) => void
size: number

The size of the status bar item within the parent status bar container

Determine the status bar visibility based on the existence and visibility of the tool's root property pane