/// <summary> /// <inheritdoc cref="IWidget.CreateWidget(ObjectFX)"/> /// </summary> /// <param name="obj"></param> /// <returns></returns> public IWidgetControl CreateWidget(ObjectFX obj) { return(createWidget(obj)); }
public virtual void OnStatusChanged(FileStatus status) { ObjectFX?.OnStatusChanged(status); }
public IWidgetControl CreateWidget(string widgetID, ObjectFX obj) { return(Widgets.Find(w => w.WidgetID == widgetID)?.CreateWidget(obj)); }
public T CreateWidget <T>(string widgetID, ObjectFX obj) where T : Control { return(Widgets.Find(w => w.WidgetID == widgetID)?.CreateWidget(obj) as T); }
public T CreateWidget <T>(ObjectFX obj) where T : Control { return(CreateWidget <T>(obj.WidgetID, obj)); }