/// <summary> /// Construct an empty GoPartInfo. /// </summary> public GoPartInfo(IGoPartInfoRenderer renderer) { }
public override GoPartInfo GetPartInfo(GoView view, IGoPartInfoRenderer renderer) { if (this.Label != null) { renderer.AddPartInfo(this.Label); } GoPartInfo info = renderer.CreatePartInfo(); if (this.PartID != -1) info["ID"] = this.PartID; info.Text = this.Text; info.SingleClick = "EditLink()"; renderer.AssociatePartInfo(this.RealLink, info); return null; }