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

interface ISimpleToolStatusBarOptions {
    alignment: StatusBarAlignment;
    onFinalize?: (statusBar: ISimpleToolStatusBarComponent) => void;
    onHide?: (statusBar: ISimpleToolStatusBarComponent) => void;
    onShow?: (statusBar: ISimpleToolStatusBarComponent) => void;
    onTeardown?: (statusBar: ISimpleToolStatusBarComponent) => void;
    size: number;
    text: LocalizedString;
    visibility?: SimpleToolStatusBarVisibility;
}

Properties

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

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

The text for the status bar item

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