protected override object CreateSelectObject(MultiEditable <T> dest) { return(new SelectObject <T>(obj => { dest.Append((T)obj); this.InsertBefore(new GenericEditableTreeNode <T>(Env, obj, dest, Title)); }, Env)); }
protected EditableTreeNode(EditableEnvironment env, MultiEditable <T> dest, string title) { Env = env; Dest = null; Tag = CreateSelectObject(dest); Title = title; SetupCommon(); }
public GenericEditableTreeNode(EditableEnvironment env, MultiEditable <T> dest, string title) : base(env, dest, title) { }
public static EditableTreeNode <T> Create <T>(EditableEnvironment env, MultiEditable <T> dest, string title = null) where T : class { return(new GenericEditableTreeNode <T>(env, dest, title)); }
protected abstract object CreateSelectObject(MultiEditable <T> dest);