internal void fireComponentCreated(TimelineEditorComponent component) { if (ComponentCreated != null) { ComponentCreated.Invoke(component); } }
public ViewHostComponent createViewHostComponent(MyGUIView view, AnomalousMvcContext context, MyGUIViewHost viewHost) { if (view is TimelineEditorView) { TimelineEditorView editorView = (TimelineEditorView)view; TimelineEditorComponent timelineEditor = new TimelineEditorComponent(viewHost, editorView, clipboard); timelineEditor.CurrentTimeline = editorView.Timeline; editorView.fireComponentCreated(timelineEditor); return(timelineEditor); } return(null); }