Table of Contents

Class CeresGraphEditorWindow<TContainer, TKWindow>

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll
public abstract class CeresGraphEditorWindow<TContainer, TKWindow> : CeresGraphEditorWindow, IHasCustomMenu where TContainer : class, ICeresGraphContainer where TKWindow : CeresGraphEditorWindow<TContainer, TKWindow>

Type Parameters

TContainer
TKWindow
Inheritance
CeresGraphEditorWindow<TContainer, TKWindow>
Implements
IHasCustomMenu
Derived
Inherited Members

Constructors

CeresGraphEditorWindow()

protected CeresGraphEditorWindow()

Properties

ContainerT

Actual graph container of this window

public TContainer ContainerT { get; }

Property Value

TContainer

Methods

GetContainer()

Get ICeresGraphContainer from editor window key object

public TContainer GetContainer()

Returns

TContainer

GetOrCreateEditorWindow(TContainer)

Create CeresGraphEditorWindow instance, return cached window if existed

public static TKWindow GetOrCreateEditorWindow(TContainer container)

Parameters

container TContainer

Returns

TKWindow

OnDisable()

protected override void OnDisable()

OnEnable()

protected override void OnEnable()

OnReloadGraphView()

Construct graph view after reloading

protected virtual void OnReloadGraphView()

Reload()

Reload editor window

protected override void Reload()

Show(TContainer)

Show the graph editor window for the container instance

public static TKWindow Show(TContainer container)

Parameters

container TContainer

Returns

TKWindow