rune-langium / visual-editor/src / EditorFormPanelProps
Interface: EditorFormPanelProps
Defined in: packages/visual-editor/src/components/panels/EditorFormPanel.tsx:93
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actions | AllEditorFormActions | All editor form actions. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:103 |
allNodes? | TypeGraphNode[] | All graph nodes (for inherited member resolution). | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:105 |
availableTypes | TypeOption[] | Available type options for type selectors. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:101 |
isReadOnly? | boolean | Whether the node is read-only (from external/locked source). | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:99 |
nodeData | AnyGraphNode | null | The selected node's data, or null if nothing is selected. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:95 |
nodeId | string | null | Node ID of the selected node. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:97 |
onClose? | () => void | Called when the panel requests to close (e.g., Escape key). | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:112 |
onNavigateToNode? | (nodeId) => void | Called when a type reference is clicked to navigate to that type's definition. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:114 |
renderExpressionEditor? | (props) => ReactNode | Optional render-prop for a rich expression editor in FunctionForm. When omitted, FunctionForm renders a plain <Textarea> fallback. | packages/visual-editor/src/components/panels/EditorFormPanel.tsx:110 |