Group API
Group API
Use the group API sparingly. As you move panels, groups change and if you don't track this correctly you may encounter unexpected behaviours. You should be able to achieve most things directly through the panel API.
component | The id of the component renderer |
|---|---|
height | The panel height in pixels |
id | The id of the panel that would have been assigned when the panel was created |
isActive | Whether the panel is the actively selected panel |
isFocused | Whether the panel holds the current focus |
isVisible | Whether the panel is visible |
onDidActiveChange | |
onDidDimensionsChange | |
onDidFocusChange | |
onDidParametersChange | |
onDidVisibilityChange | |
onWillFocus | |
width | The panel width in pixels |
getParameters | |
setActive | |
setVisible | |
updateParameters | |
component | The id of the component renderer |
height | The panel height in pixels |
id | The id of the panel that would have been assigned when the panel was created |
isActive | Whether the panel is the actively selected panel |
isFocused | Whether the panel holds the current focus |
isVisible | Whether the panel is visible |
onDidActiveChange | |
onDidConstraintsChange | |
onDidDimensionsChange | |
onDidFocusChange | |
onDidParametersChange | |
onDidVisibilityChange | |
onWillFocus | |
width | The panel width in pixels |
getParameters | |
setActive | |
setConstraints | |
setSize | |
setVisible | |
updateParameters | |
component | The id of the component renderer |
height | The panel height in pixels |
id | The id of the panel that would have been assigned when the panel was created |
isActive | Whether the panel is the actively selected panel |
isFocused | Whether the panel holds the current focus |
isVisible | Whether the panel is visible |
location | |
onDidActiveChange | |
onDidActivePanelChange | |
onDidCollapsedChange | Fired when an edge group's collapsed state changes.
Never fires for non-edge groups. |
onDidConstraintsChange | |
onDidDimensionsChange | |
onDidFocusChange | |
onDidLocationChange | |
onDidParametersChange | |
onDidVisibilityChange | |
onWillFocus | |
width | The panel width in pixels |
close | |
collapse | Collapse this group (edge groups only). No-op for non-edge groups. |
exitMaximized | |
expand | Expand this group (edge groups only). No-op for non-edge groups. |
getHeaderPosition | |
getParameters | |
getWindow | If you require the Window object |
isCollapsed | Returns true if this edge group is currently collapsed.
Always returns false for non-edge groups. |
isMaximized | |
maximize | |
moveTo | |
setActive | |
setConstraints | |
setHeaderPosition | |
setSize | |
setVisible | |
updateParameters | |