Optional
contextMenuRenderer: ContextMenuRendererOptional
decoratorService: TabBarDecoratorServiceOptional
iconThemeService: IconThemeServiceOptional
selectionService: SelectionServiceOptional
commandService: CommandServiceOptional
corePreferences: CorePreferencesOptional
hoverService: HoverServiceOptional
contextKeyService: ContextKeyServiceProtected
Optional
_tabProtected
Optional
Readonly
commandProtected
Optional
Readonly
contextOptional
contextThe menu path used to render the context menu.
Protected
Optional
Readonly
contextProtected
Optional
Readonly
coreProtected
Readonly
decorationsProtected
Optional
Readonly
decoratorProtected
Optional
Readonly
hoverProtected
Optional
Readonly
iconProtected
Optional
Readonly
selectionProtected
Readonly
toProtected
Readonly
toA reference to the tab bar is required in order to activate it when a context menu is requested.
Generate ID for an entry in the tab bar
Title of the widget controlled by this tab bar
Tells us if this entry is part of the hidden horizontal tab bar. If yes, add a suffix to differentiate it's ID from the entry in the visible tab bar
DOM element ID
Find duplicate labels from the currently opened tabs in the tab bar. Return the appropriate partial paths that can distinguish the identical labels.
E.g., a/p/index.ts => a/..., b/p/index.ts => b/...
To prevent excessively long path displayed, show at maximum three levels from the end by default.
Array of titles in the current tab bar.
A map from each tab's original path to its displayed partial path.
Protected
getProtected
getProtected
getProtected
handleProtected
handleProtected
handleProtected
handleOptional
isInSidePanel: booleanProtected
renderIf size information is available for the icon, set it as inline style. Tab padding
is also considered in the top
position.
Data used to render the tab icon.
Optional
isInSidePanel: booleanAn optional check which determines if the tab is in the side-panel.
If size information is available for the label, set it as inline style.
Tab padding and icon size are also considered in the top
position.
Data used to render the tab.
Optional
isInSidePanel: booleanAn optional check which determines if the tab is in the side-panel.
The virtual element of the rendered label.
Optional
isInSidePanel: booleanRender tabs with the default DOM structure, but additionally register a context menu listener.
Data used to render the tab.
Optional
isInSidePanel: booleanAn optional check which determines if the tab is in the side-panel.
Optional
isPartOfHiddenTabBar: booleanAn optional check which determines if the tab is in the hidden horizontal tab bar.
The virtual element of the rendered tab.
Protected
renderOptional
isInSidePanel: booleanProtected
renderProtected
reset
A tab bar renderer that offers a context menu. In addition, this renderer is able to set an explicit position and size on the icon and label of each tab in a side bar. This is necessary because the elements of side bar tabs are rotated using the CSS
transform
property, disrupting the browser's ability to arrange those elements automatically.