Class: PanelLayoutExtension
An extension to compute layouts for panels. Computes position of visible panels based on panel layout defnitions provided in the LayoutStore
Dependencies
[DesignExtensionSystem, IdaStore, CimDocStore, LayoutStore]
Hierarchy
BaseExtension
↳
PanelLayoutExtension
Constructors
constructor
• new PanelLayoutExtension(designState
, layoutStore
, idaStore
, designExtensionSystem
)
Parameters
Name | Type |
---|---|
designState | DesignState |
layoutStore | LayoutStore |
idaStore | IdaStore |
designExtensionSystem | DesignExtensionSystem |
Overrides
BaseExtension.constructor
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:28
Properties
designExtensionSystem
• Protected
designExtensionSystem: DesignExtensionSystem
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:32
designState
• designState: PanelState
Overrides
BaseExtension.designState
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:26
idaStore
• Protected
idaStore: IdaStore
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:31
layoutStore
• Protected
layoutStore: LayoutStore
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:30
inject
▪ Static
inject: string
[]
Overrides
BaseExtension.inject
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:25
Accessors
dimensions
• get
dimensions(): Object
Returns
Object
Name | Type |
---|---|
height | number |
width | number |
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:42
position
• get
position(): undefined
| Coordinates
Returns
undefined
| Coordinates
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:50
Methods
supports
▸ Static
supports(state
): boolean
Parameters
Name | Type |
---|---|
state | DesignState |
Returns
boolean
Overrides
BaseExtension.supports
Defined in
packages/design-engine-react-components/src/extensions/panelLayout/PanelLayoutExtension.ts:38