package content_workspace
Constants
ID
is
the
stable
workspace
identifier
used
for
registration
settings
and
SelectWorkspace
calls
ID
"content"
DisplayName
is
the
label
shown
on
the
content
workspace
menu
bar
tab
DisplayName
"Content"
Functions
ImportPaths
func ImportPaths(paths []string, pfs *project_file_system.FileSystem, cache *content_database.Cache) []string
ImportPaths is shared by the content workspace and global file-drop routing.
ShouldHideContent
func ShouldHideContent(id string, typeFilters, tagFilters map[string]struct{}, cdb *content_database.Cache) bool
ShouldShowContent
func ShouldShowContent(query, id string, typeFilters, tagFilters map[string]struct{}, cdb *content_database.Cache) bool
Types
BatchedContentLoader
struct
BatchedContentLoader.Configure
BatchedContentLoader.Enqueue
BatchedContentLoader.Stop
ContentAudioView
struct
ContentWorkspace
struct
ContentWorkspace.Close
ContentWorkspace.DisplayName
ContentWorkspace.Hotkeys
ContentWorkspace.ID
ContentWorkspace.Initialize
ContentWorkspace.IsRequired
ContentWorkspace.Open
ContentWorkspace.Shutdown
Shutdown is called when the editor disables this workspace at runtime. It drops the UI document. (Event subscriptions are not currently tracked for removal — the editor process owns the EditorEvents lifetime so leaked subscriptions are harmless until restart. Add explicit Remove calls if disabling/re-enabling within a session becomes a hot path.)
ContentWorkspace.Update
WorkspaceUIData
struct