Toast Engine
Loading...
Searching...
No Matches
editor.Workspace.HierarchyViewModel Class Reference
Inheritance diagram for editor.Workspace.HierarchyViewModel:
Collaboration diagram for editor.Workspace.HierarchyViewModel:

Public Member Functions

 HierarchyViewModel (Func< WorkspaceViewModel?>? workspace)
void MakeCurrent ()
void Dispose ()
void RebuildRows ()
void ToggleExpand (HierarchyElement node)
void DropInto (HierarchyElement dragged, HierarchyElement target)
void DropBeside (HierarchyElement dragged, HierarchyElement target, bool after)
void Clear ()
HierarchyElement? Find (string uid)

Static Public Member Functions

static bool IsSelfOrDescendant (HierarchyElement node, HierarchyElement candidate)

Properties

static ? HierarchyViewModel Current [get]
ObservableCollection< HierarchyElement > Root = [] [get]
bool HasNodes [get]
bool ShowHeader [get]
ObservableCollection< HierarchyElement > Rows = [] [get]
WorkspaceViewModel? ActiveWorkspace [get]
bool IsPrimary [get]
ulong ActiveWorkspaceHandle [get]
bool HasCurrentHierarchy [get]
Func< HierarchyElement, bool >? CanContextBake [get, set]
Func< HierarchyElement, Task >? ContextBake [get, set]

Events

Action? HierarchyChanged
Action< HierarchyElement >? RenameStarted
static ? Action< HierarchyElement?> SelectionChanged
Action< HierarchyElement?>? SelectedChanged

The documentation for this class was generated from the following file:
  • editor/Workspace/HierarchyViewModel.cs