rune-langium / visual-editor/src / StructureViewProps
Interface: StructureViewProps
Defined in: packages/visual-editor/src/components/StructureView.tsx:50
Shared host contract for the focused document and its existing editor slots.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
adapterDoc | readonly | AdapterDocument | undefined | - | packages/visual-editor/src/components/StructureView.tsx:53 |
cellComponents? | readonly | StructureCellComponents | - | packages/visual-editor/src/components/StructureView.tsx:55 |
expansionMap? | readonly | ReadonlyMap<string, boolean> | - | packages/visual-editor/src/components/StructureView.tsx:54 |
focusedTypeId | readonly | string | undefined | - | packages/visual-editor/src/components/StructureView.tsx:52 |
navigationRevision? | readonly | number | - | packages/visual-editor/src/components/StructureView.tsx:51 |
onInspectType? | readonly | (typeId) => void | - | packages/visual-editor/src/components/StructureView.tsx:62 |
onNavigateToEnumType? | readonly | (typeId) => void | Historical prop name; handles resolved references of every supported kind. | packages/visual-editor/src/components/StructureView.tsx:61 |
onNodeSelect? | readonly | (canonicalTypeId) => void | Selection and navigation always use canonical identities, never instance IDs. | packages/visual-editor/src/components/StructureView.tsx:59 |
onRequestNamespaceHydration? | readonly | (namespace) => void | Request details for a visible deferred root, inherited base or expanded child. | packages/visual-editor/src/components/StructureView.tsx:66 |
onToggleExpansion? | readonly | (key) => void | - | packages/visual-editor/src/components/StructureView.tsx:56 |
pendingHydrationNamespaces? | readonly | readonly string[] | - | packages/visual-editor/src/components/StructureView.tsx:64 |
structureDiagnostics? | readonly | readonly RangeDiagnostic[] | - | packages/visual-editor/src/components/StructureView.tsx:63 |
unsupportedSelectedType? | readonly | { kind: string; name: string; } | - | packages/visual-editor/src/components/StructureView.tsx:57 |
unsupportedSelectedType.kind | public | string | - | packages/visual-editor/src/components/StructureView.tsx:57 |
unsupportedSelectedType.name | public | string | - | packages/visual-editor/src/components/StructureView.tsx:57 |