Class CeresPortView
Port view for CeresNodeView
Inheritance
object
CeresPortView
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Ceres.Editor.Graph
Assembly: cs.temp.dll.dll
Syntax
public class CeresPortView
Constructors
CeresPortView(CeresPortViewBinding, CeresNodeView, CeresPortData)
Declaration
public CeresPortView(CeresPortViewBinding binding, CeresNodeView nodeView, CeresPortData portData)
Parameters
Type | Name | Description |
---|---|---|
CeresPortViewBinding | binding | |
CeresNodeView | nodeView | |
CeresPortData | portData |
Properties
Binding
Declaration
public CeresPortViewBinding Binding { get; }
Property Value
Type | Description |
---|---|
CeresPortViewBinding |
FieldResolver
Declaration
public IFieldResolver FieldResolver { get; }
Property Value
Type | Description |
---|---|
IFieldResolver |
Flags
Declaration
public CeresPortViewFlags Flags { get; }
Property Value
Type | Description |
---|---|
CeresPortViewFlags |
NodeOwner
Declaration
public CeresNodeView NodeOwner { get; }
Property Value
Type | Description |
---|---|
CeresNodeView |
PortData
Declaration
public CeresPortData PortData { get; }
Property Value
Type | Description |
---|---|
CeresPortData |
PortElement
Declaration
public CeresPortElement PortElement { get; }
Property Value
Type | Description |
---|---|
CeresPortElement |
Methods
Commit(CeresNode)
Link all ports to CeresNode instance
Declaration
public void Commit(CeresNode nodeInstance)
Parameters
Type | Name | Description |
---|---|---|
CeresNode | nodeInstance |
Connect()
Connect port element based on current CeresPortData
Declaration
public void Connect()
Restore(CeresNode, CeresPortData)
Declaration
public void Restore(CeresNode nodeInstance, CeresPortData portData)
Parameters
Type | Name | Description |
---|---|---|
CeresNode | nodeInstance | |
CeresPortData | portData |
SetDisplayDataFromParameterInfo(ParameterInfo)
Set display name and default value from
Declaration
public void SetDisplayDataFromParameterInfo(ParameterInfo parameterInfo)
Parameters
Type | Name | Description |
---|---|---|
ParameterInfo | parameterInfo |
SetDisplayName(string)
Declaration
public void SetDisplayName(string displayName)
Parameters
Type | Name | Description |
---|---|---|
string | displayName |
SetDisplayType(Type)
Declaration
public void SetDisplayType(Type displayType)
Parameters
Type | Name | Description |
---|---|---|
Type | displayType |
SetTooltip(string)
Declaration
public void SetTooltip(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
string | tooltip |