1#include "Tabs/PropertiesTab.h"
11 wxBoxSizer *sizer =
new wxBoxSizer(wxVERTICAL);
13 contentPanel->SetSizer(sizer);
47 new wxIntProperty(
"Current Tick", wxPG_LABEL,
static_cast<int>(
m_stateManager->GetCurrentTick())));
52 for (
auto id : path) {
58 m_propertyGrid->Append(
new wxBoolProperty(
"In Execution Path", wxPG_LABEL, inPath));
64 wxPGProperty *prop = *it;
void InitLayout()
Initializes the tab layout (stack, placeholder, content panels).
PropertiesTabBase(wxWindow *parent)
void SetupPropertyGrid(wxPanel *parent)
Creates and configures the property grid in the given parent.
EmberCore::ITreeNode * m_selectedNode
wxPropertyGrid * m_propertyGrid
void ClearSelection()
Clears the current selection.
void AddBasicNodeInfo()
Adds basic node info (name, type) to the property grid.
wxString StatusToString(int status) const
void ClearNode()
Clears the currently selected node and resets the property display.
void CreateContentLayout(wxPanel *contentPanel) override
Builds the content layout for the property panel.
void DisableAllProperties()
void SetStateManager(std::shared_ptr< Network::StateManager > stateManager)
Assigns the state manager used for live status lookups.
void PopulateProperties() override
Fills the property grid with node properties and status.
void AddStatusProperties()
void Refresh() override
Refreshes the tab content.
PropertiesTab(wxWindow *parent)
std::shared_ptr< Network::StateManager > m_stateManager