C# Class Duality.Editor.Plugins.Base.PropertyEditors.ComponentPropertyEditor

Inheritance: AdamsLair.WinForms.PropertyEditing.MemberwisePropertyEditor
Exibir arquivo Open project: BraveSirAndrew/duality

Public Methods

Method Description
ComponentPropertyEditor ( ) : System
MapEditorToMember ( PropertyEditor editor ) : MemberInfo
PerformSetActive ( bool active ) : void
UpdatePrefabModifiedState ( PropertyEditor specificEditor = null ) : void

Protected Methods

Method Description
IsAutoCreateMember ( MemberInfo info ) : bool
IsMemberInPrefabLinkChanges ( MemberInfo info ) : bool
OnActiveChanged ( ) : void
OnButtonPressed ( ) : void
OnEditedTypeChanged ( ) : void
OnEditorAdded ( PropertyEditor editor ) : void
OnEditorRemoving ( PropertyEditor editor ) : void
OnUpdateFromObjects ( object values ) : void
OnValueChanged ( object sender, PropertyEditorValueEventArgs args ) : void

Private Methods

Method Description
MatchToProperty ( Type propertyType, ProviderContext context ) : int
contextMenu_Closed ( object sender, ToolStripDropDownClosedEventArgs e ) : void
contextMenu_CustomAction ( object sender, EventArgs e ) : void
contextMenu_RemoveComponent ( object sender, EventArgs e ) : void
contextMenu_ResetComponent ( object sender, EventArgs e ) : void

Method Details

ComponentPropertyEditor() public method

public ComponentPropertyEditor ( ) : System
return System

IsAutoCreateMember() protected method

protected IsAutoCreateMember ( MemberInfo info ) : bool
info System.Reflection.MemberInfo
return bool

IsMemberInPrefabLinkChanges() protected method

protected IsMemberInPrefabLinkChanges ( MemberInfo info ) : bool
info MemberInfo
return bool

MapEditorToMember() public method

public MapEditorToMember ( PropertyEditor editor ) : MemberInfo
editor PropertyEditor
return MemberInfo

OnActiveChanged() protected method

protected OnActiveChanged ( ) : void
return void

OnButtonPressed() protected method

protected OnButtonPressed ( ) : void
return void

OnEditedTypeChanged() protected method

protected OnEditedTypeChanged ( ) : void
return void

OnEditorAdded() protected method

protected OnEditorAdded ( PropertyEditor editor ) : void
editor PropertyEditor
return void

OnEditorRemoving() protected method

protected OnEditorRemoving ( PropertyEditor editor ) : void
editor PropertyEditor
return void

OnUpdateFromObjects() protected method

protected OnUpdateFromObjects ( object values ) : void
values object
return void

OnValueChanged() protected method

protected OnValueChanged ( object sender, PropertyEditorValueEventArgs args ) : void
sender object
args PropertyEditorValueEventArgs
return void

PerformSetActive() public method

public PerformSetActive ( bool active ) : void
active bool
return void

UpdatePrefabModifiedState() public method

public UpdatePrefabModifiedState ( PropertyEditor specificEditor = null ) : void
specificEditor PropertyEditor
return void