package common_workspace
Functions
ReflectAddToSlice
ReflectObjectValueFromUI
ReflectRemoveFromSlice
SetObjectValueFromUI
Types
CommonWorkspace
struct
type CommonWorkspace struct {
Host *engine.Host
Doc *document.Document
UiMan ui.Manager
IsBlurred bool
}
CommonWorkspace.Blur
CommonWorkspace.CommonClose
CommonWorkspace.CommonOpen
CommonWorkspace.Focus
CommonWorkspace.InitializeWithUI
func (w *CommonWorkspace) InitializeWithUI(host *engine.Host, htmlPath string, withData any, funcMap map[string]func(*document.Element)) error
CommonWorkspace.ReloadUI
func (w *CommonWorkspace) ReloadUI(htmlPath string, withData any, funcMap map[string]func(*document.Element)) error
DataUISection
struct
ReflectUIStructure
func ReflectUIStructure(obj any, path string, fallbackOptions map[string][]ui.SelectOption) DataUISection
DataUISectionField
struct
type DataUISectionField struct {
Name string
Type string
List []ui.SelectOption
Value any
Sections []DataUISection
RootPath string
TipKey string
Label string
}
DataUISectionField.DisplayName
DataUISectionField.FullPath
DataUISectionField.PascalToTitle
DataUISectionField.ValueListHas
HotKey
struct