Class CeresGraphEditorWindow<TContainer, TKWindow>
Inheritance
object
CeresGraphEditorWindow<TContainer, TKWindow>
Implements
IHasCustomMenu
Inherited Members
Namespace: Ceres.Editor.Graph
Assembly: cs.temp.dll.dll
Syntax
public abstract class CeresGraphEditorWindow<TContainer, TKWindow> : CeresGraphEditorWindow, IHasCustomMenu where TContainer : class, ICeresGraphContainer where TKWindow : CeresGraphEditorWindow<TContainer, TKWindow>
Type Parameters
Name | Description |
---|---|
TContainer | |
TKWindow |
Properties
ContainerT
Actual graph container of this window
Declaration
public TContainer ContainerT { get; }
Property Value
Type | Description |
---|---|
TContainer |
Methods
GetContainer()
Get ICeresGraphContainer from editor window key object
Declaration
public TContainer GetContainer()
Returns
Type | Description |
---|---|
TContainer |
GetOrCreateEditorWindow(TContainer)
Create CeresGraphEditorWindow instance, return cached window if existed
Declaration
public static TKWindow GetOrCreateEditorWindow(TContainer container)
Parameters
Type | Name | Description |
---|---|---|
TContainer | container |
Returns
Type | Description |
---|---|
TKWindow |
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnReloadGraphView()
Construct graph view after reloading
Declaration
protected virtual void OnReloadGraphView()
Reload()
Declaration
protected override void Reload()
Overrides
Show(TContainer)
Show the graph editor window for the container instance
Declaration
public static TKWindow Show(TContainer container)
Parameters
Type | Name | Description |
---|---|---|
TContainer | container |
Returns
Type | Description |
---|---|
TKWindow |
Implements
IHasCustomMenu