![]() |
Ember
|
Interface for tab-based UI components in the application. More...
#include <ITab.h>
Public Member Functions | |
| virtual | ~ITab ()=default |
| virtual wxWindow * | GetWidget ()=0 |
| Returns the wxWidgets window used as the tab content. | |
| virtual wxString | GetTitle () const =0 |
| Returns the display title of the tab. | |
| virtual wxString | GetTabType () const =0 |
| Returns the tab type identifier. | |
| virtual wxBitmap | GetIcon () const |
| Returns the tab icon bitmap; defaults to null. | |
| virtual void | Initialize () |
| Called once when the tab is first created. | |
| virtual void | Refresh () |
| Refreshes the tab content. | |
| virtual void | OnActivated () |
| Called when the tab becomes active. | |
| virtual void | OnDeactivated () |
| Called when the tab becomes inactive. | |
| virtual void | OnClosed () |
| Called when the tab is closed. | |
| virtual bool | IsValid () const |
| Returns true if the tab is in a valid state. | |
| virtual bool | CanClose () const |
| Returns true if the tab can be closed. | |
| virtual bool | CanMove () const |
| Returns true if the tab can be moved/reordered. | |
| virtual wxString | SerializeState () const |
| Serializes tab state to a string for persistence. | |
| virtual void | DeserializeState (const wxString &state) |
| Restores tab state from a serialized string. | |
| virtual bool | HasUnsavedChanges () const |
| Returns true if the tab has unsaved changes. | |
| virtual bool | Save () |
| Saves the tab content; returns true on success. | |
| virtual bool | SupportsOperation (const wxString &operation) const |
| Returns true if the tab supports the given operation. | |
| virtual bool | ExecuteOperation (const wxString &operation, const wxString ¶meter="") |
| Executes an operation with optional parameter; returns true on success. | |
|
virtualdefault |
|
inlinevirtual |
Returns true if the tab can be closed.
Reimplemented in FileExplorerTab.
|
inlinevirtual |
Returns true if the tab can be moved/reordered.
Reimplemented in FileExplorerTab.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Returns the tab icon bitmap; defaults to null.
Reimplemented in FileExplorerTab.
|
pure virtual |
Returns the tab type identifier.
Implemented in Ember::Monitor::MonitorNavigatorTab, Ember::Monitor::PropertiesTab, EmberForge::LogTab, EmberForge::PerformancePanel, EmberUI::NavigatorTab, EmberUI::TreeHierarchyTab, FileExplorerTab, and PropertiesTab.
|
pure virtual |
Returns the display title of the tab.
Implemented in Ember::Monitor::MonitorNavigatorTab, EmberForge::LogTab, EmberForge::PerformancePanel, EmberUI::NavigatorTab, EmberUI::PropertiesTabBase, EmberUI::TreeHierarchyTab, and FileExplorerTab.
|
pure virtual |
Returns the wxWidgets window used as the tab content.
Implemented in EmberForge::LogTab, EmberForge::PerformancePanel, EmberUI::NavigatorTab, EmberUI::PropertiesTabBase, EmberUI::TreeHierarchyTab, and FileExplorerTab.
|
inlinevirtual |
|
inlinevirtual |
Called once when the tab is first created.
Reimplemented in EmberForge::LogTab, and FileExplorerTab.
|
inlinevirtual |
Returns true if the tab is in a valid state.
Reimplemented in FileExplorerTab.
|
inlinevirtual |
Called when the tab becomes active.
Reimplemented in EmberForge::LogTab, EmberUI::NavigatorTab, and FileExplorerTab.
|
inlinevirtual |
Called when the tab is closed.
Reimplemented in EmberForge::LogTab, EmberUI::NavigatorTab, FileExplorerTab, and PropertiesTab.
|
inlinevirtual |
Called when the tab becomes inactive.
Reimplemented in EmberForge::LogTab, and FileExplorerTab.
|
inlinevirtual |
Refreshes the tab content.
Reimplemented in Ember::Monitor::PropertiesTab, EmberForge::LogTab, and FileExplorerTab.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |