![]() |
Ember
|
Abstract interface for individual tabs that can be moved between panels. More...
#include <ITab.h>
Public Member Functions | |
| virtual | ~ITab ()=default |
| virtual wxWindow * | GetWidget ()=0 |
| Get the main widget for this tab. | |
| virtual wxString | GetTitle () const =0 |
| Get the display title for this tab. | |
| virtual wxString | GetTabType () const =0 |
| Get a unique identifier for this tab type. | |
| virtual wxBitmap | GetIcon () const |
| Get an optional icon for this tab. | |
| virtual void | Initialize () |
| Initialize the tab after construction Called once after the tab is created and configured. | |
| virtual void | Refresh () |
| Called when the tab should refresh its display This should update the tab's content to reflect current state. | |
| virtual void | OnActivated () |
| Called when the tab becomes the active/visible tab. | |
| virtual void | OnDeactivated () |
| Called when the tab becomes inactive/hidden. | |
| virtual void | OnClosed () |
| Called when the tab is about to be closed/removed Use this for cleanup operations. | |
| virtual bool | IsValid () const |
| Check if the tab is in a valid state. | |
| virtual bool | CanClose () const |
| Check if this tab can be closed by the user. | |
| virtual bool | CanMove () const |
| Check if this tab can be moved to other panels. | |
| virtual wxString | SerializeState () const |
| Serialize the tab's current state to a string. | |
| virtual void | DeserializeState (const wxString &state) |
| Restore the tab's state from serialized data. | |
| virtual bool | HasUnsavedChanges () const |
| Check if this tab has unsaved changes. | |
| virtual bool | Save () |
| Save the tab's data (if applicable) | |
| virtual bool | SupportsOperation (const wxString &operation) const |
| Check if this tab supports the given operation. | |
| virtual bool | ExecuteOperation (const wxString &operation, const wxString ¶meter="") |
| Execute a named operation on this tab. | |
Abstract interface for individual tabs that can be moved between panels.
This interface represents individual tabs (like Properties, Logger, etc.) that can be displayed in different panel containers and potentially moved between them in the future.
|
virtualdefault |
|
inlinevirtual |
Check if this tab can be closed by the user.
Reimplemented in FileExplorerTab.
|
inlinevirtual |
Check if this tab can be moved to other panels.
Reimplemented in FileExplorerTab.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Get an optional icon for this tab.
Reimplemented in FileExplorerTab.
|
pure virtual |
Get a unique identifier for this tab type.
Implemented in EmberForge::LogTab, EmberForge::PerformancePanel, FileExplorerTab, PropertiesTab, SceneHierarchyTab, and TreeSelectorTab.
|
pure virtual |
Get the display title for this tab.
Implemented in EmberForge::LogTab, EmberForge::PerformancePanel, FileExplorerTab, PropertiesTab, SceneHierarchyTab, and TreeSelectorTab.
|
pure virtual |
Get the main widget for this tab.
Implemented in EmberForge::LogTab, EmberForge::PerformancePanel, FileExplorerTab, PropertiesTab, SceneHierarchyTab, and TreeSelectorTab.
|
inlinevirtual |
|
inlinevirtual |
Initialize the tab after construction Called once after the tab is created and configured.
Reimplemented in EmberForge::LogTab, and FileExplorerTab.
|
inlinevirtual |
Check if the tab is in a valid state.
Reimplemented in FileExplorerTab.
|
inlinevirtual |
Called when the tab becomes the active/visible tab.
Reimplemented in EmberForge::LogTab, FileExplorerTab, and TreeSelectorTab.
|
inlinevirtual |
Called when the tab is about to be closed/removed Use this for cleanup operations.
Reimplemented in EmberForge::LogTab, FileExplorerTab, PropertiesTab, SceneHierarchyTab, and TreeSelectorTab.
|
inlinevirtual |
Called when the tab becomes inactive/hidden.
Reimplemented in EmberForge::LogTab, and FileExplorerTab.
|
inlinevirtual |
Called when the tab should refresh its display This should update the tab's content to reflect current state.
Reimplemented in EmberForge::LogTab, and FileExplorerTab.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |