Skip to content

package content_workspace

import "kaiju/editor/editor_workspace/content_workspace"

Functions

ShouldShowContent

func ShouldShowContent(query, id string, typeFilters, tagFilters []string, cdb *content_database.Cache) bool

Types

ContentWorkspace

struct

type ContentWorkspace struct {
    common_workspace.CommonWorkspace

    // Has unexported fields.
}

ContentWorkspace.AddContent

func (w *ContentWorkspace) AddContent(ids []string)

ContentWorkspace.Close

func (w *ContentWorkspace) Close()

ContentWorkspace.Initialize

func (w *ContentWorkspace) Initialize(host *engine.Host, edEvts *editor_events.EditorEvents, pfs *project_file_system.FileSystem, cdb *content_database.Cache)

ContentWorkspace.Open

func (w *ContentWorkspace) Open()

WorkspaceUIData

struct

type WorkspaceUIData struct {
    Filters []string
    Tags    []string
}

WorkspaceUIData.SetupUIData

func (w *WorkspaceUIData) SetupUIData(cdb *content_database.Cache) []string