Metadata for a dockable editor window (formerly PanelInfo) More...
#include <workspace_window_manager.h>

Public Types | |
| enum class | ShortcutScope { kGlobal , kEditor , kPanel } |
Public Member Functions | |
| std::string | GetWindowTitle () const |
| Get the effective window title for DockBuilder. | |
| std::string | GetImGuiWindowName () const |
| Build the exact ImGui window name used by PanelWindow::Begin. | |
| bool | IsAdmitted () const |
| bool | IsListedInWindowBrowser () const |
Public Attributes | |
| std::string | card_id |
| std::string | display_name |
| std::string | window_title |
| std::string | icon |
| std::string | category |
| std::string | workflow_group |
| std::string | workflow_label |
| std::string | workflow_description |
| int | workflow_priority = 50 |
| WindowLifecycle | window_lifecycle = WindowLifecycle::EditorBound |
| WindowContextScope | context_scope = WindowContextScope::kNone |
| WindowPresentationPolicy | presentation |
| WindowScope | scope = WindowScope::kSession |
| std::string | shortcut_hint |
| ShortcutScope | shortcut_scope = ShortcutScope::kPanel |
| bool * | visibility_flag |
| std::function< void()> | on_show |
| std::function< void()> | on_hide |
| int | priority |
| std::function< bool()> | enabled_condition |
| std::string | disabled_tooltip |
Metadata for a dockable editor window (formerly PanelInfo)
Definition at line 50 of file workspace_window_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kGlobal | |
| kEditor | |
| kPanel | |
Definition at line 74 of file workspace_window_manager.h.
|
inline |
Get the effective window title for DockBuilder.
Definition at line 95 of file workspace_window_manager.h.
References display_name, icon, and window_title.
Referenced by yaze::editor::layout_designer::anonymous_namespace{layout_designer_window.cc}::ApplyLayoutToDockspace().
|
inline |
Build the exact ImGui window name used by PanelWindow::Begin.
Uses the display label plus a stable ID suffix to keep DockBuilder and runtime window identity aligned.
Definition at line 109 of file workspace_window_manager.h.
References card_id, display_name, and icon.
Referenced by yaze::editor::WorkspaceWindowManager::GetWindowNameImpl().
|
inline |
Definition at line 118 of file workspace_window_manager.h.
References yaze::editor::WindowPresentationPolicy::IsAdmitted(), and presentation.
Referenced by IsListedInWindowBrowser().

|
inline |
Definition at line 119 of file workspace_window_manager.h.
References IsAdmitted(), yaze::editor::WindowPresentationPolicy::list_in_window_browser, and presentation.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems().

| std::string yaze::editor::WindowDescriptor::card_id |
Definition at line 51 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), GetImGuiWindowName(), yaze::editor::WorkspaceWindowManager::GetWindowsInCategoryImpl(), yaze::editor::WorkspaceWindowManager::GetWindowsSortedByMRUImpl(), yaze::editor::anonymous_namespace{window_browser.cc}::MatchesWindowSearch(), yaze::editor::anonymous_namespace{window_sidebar.cc}::MatchesWindowSearch(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), yaze::editor::WindowSidebar::SidebarSectionFor(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDescriptor::display_name |
Definition at line 52 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::WindowSidebar::Draw(), yaze::editor::WorkspaceWindowManager::DrawAllVisiblePanels(), GetImGuiWindowName(), GetWindowTitle(), yaze::editor::anonymous_namespace{window_browser.cc}::MatchesWindowSearch(), yaze::editor::anonymous_namespace{window_sidebar.cc}::MatchesWindowSearch(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), yaze::editor::WorkspaceWindowManager::RegisterWindowContent(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDescriptor::window_title |
Definition at line 54 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), GetWindowTitle(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDescriptor::icon |
Definition at line 55 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::WorkspaceWindowManager::DrawAllVisiblePanels(), GetImGuiWindowName(), GetWindowTitle(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDescriptor::category |
Definition at line 56 of file workspace_window_manager.h.
Referenced by yaze::editor::AuditPanelAdmission(), yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::WorkspaceWindowManager::DrawAllVisiblePanels(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDescriptor::workflow_group |
Definition at line 57 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), and yaze::editor::WindowSidebar::SidebarSectionFor().
| std::string yaze::editor::WindowDescriptor::workflow_label |
| std::string yaze::editor::WindowDescriptor::workflow_description |
| int yaze::editor::WindowDescriptor::workflow_priority = 50 |
| WindowLifecycle yaze::editor::WindowDescriptor::window_lifecycle = WindowLifecycle::EditorBound |
Definition at line 63 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::EditorManager::RegisterEmulatorPanels(), and yaze::editor::WindowHost::ToDescriptor().
| WindowContextScope yaze::editor::WindowDescriptor::context_scope = WindowContextScope::kNone |
Definition at line 66 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::EditorManager::RegisterEmulatorPanels(), and yaze::editor::WindowHost::ToDescriptor().
| WindowPresentationPolicy yaze::editor::WindowDescriptor::presentation |
Definition at line 71 of file workspace_window_manager.h.
Referenced by yaze::editor::AuditPanelAdmission(), yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), IsAdmitted(), IsListedInWindowBrowser(), yaze::editor::EditorManager::RegisterEmulatorPanels(), and yaze::editor::WindowHost::ToDescriptor().
| WindowScope yaze::editor::WindowDescriptor::scope = WindowScope::kSession |
Definition at line 73 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::EditorManager::RegisterEmulatorPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDescriptor::shortcut_hint |
Definition at line 79 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{window_browser.cc}::MatchesWindowSearch(), yaze::editor::anonymous_namespace{window_sidebar.cc}::MatchesWindowSearch(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| ShortcutScope yaze::editor::WindowDescriptor::shortcut_scope = ShortcutScope::kPanel |
Definition at line 80 of file workspace_window_manager.h.
| bool* yaze::editor::WindowDescriptor::visibility_flag |
Definition at line 81 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::CollectDefaultVisibleWindowIds(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::WorkspaceWindowManager::DrawAllVisiblePanels(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::function<void()> yaze::editor::WindowDescriptor::on_show |
Definition at line 82 of file workspace_window_manager.h.
Referenced by yaze::editor::EditorManager::RegisterEmulatorPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::function<void()> yaze::editor::WindowDescriptor::on_hide |
Definition at line 83 of file workspace_window_manager.h.
Referenced by yaze::editor::EditorManager::RegisterEmulatorPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| int yaze::editor::WindowDescriptor::priority |
Definition at line 84 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), yaze::editor::WorkspaceWindowManager::GetWindowsSortedByMRUImpl(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::function<bool()> yaze::editor::WindowDescriptor::enabled_condition |
| std::string yaze::editor::WindowDescriptor::disabled_tooltip |
Definition at line 89 of file workspace_window_manager.h.
Referenced by yaze::editor::anonymous_namespace{workspace_window_manager_state.cc}::BuildDescriptorFromPanel(), yaze::editor::anonymous_namespace{workspace_window_manager.cc}::BuildDescriptorFromPanel(), and anonymous_namespace{main.cc}::RegisterLabPanels().