Interface IDisplayTab
Interface for Display tabs with methods returning title and content. It also has callback handler called when tab visibility changes (i.e. if you want to avoid expensive calculation when tab is invisible).
Namespace: Eco.Core.Plugins.Interfaces
Assembly: Eco.Core.dll
Syntax
public interface IDisplayTab
Methods
GetDisplayText()
Returns current content of UI tab.
Declaration
string GetDisplayText()
Returns
| Type | Description |
|---|---|
| System.String |
GetDisplayTitle()
Returns title which will be used as UI tab title.
Declaration
virtual string GetDisplayTitle()
Returns
| Type | Description |
|---|---|
| System.String |
OnDisplayTabVisibilityChange(Boolean)
Callback to be called when tab become visible or hidden.
Declaration
virtual void OnDisplayTabVisibilityChange(bool show)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | show |