Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/03/09 01:42:55 (15 years ago)
Author:
mstoeger
Message:

added many new persisted properties.
removed useless comments.
added XmlSupport class since the code for setting xml attributes is always the same.
#639

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/LabelProvider/ContinuousLabelProvider.cs

    r1385 r1993  
    1616    }
    1717
    18     public XmlNode GetLabelProviderXmlNode()
     18    public XmlNode GetLabelProviderXmlNode(XmlDocument document)
    1919    {
    20       XmlDocument Xdoc = new XmlDocument();
    21 
    22       XmlNode lblProvInfo = Xdoc.CreateNode(XmlNodeType.Element, "LabelProvider", null);
     20      XmlNode lblProvInfo = document.CreateNode(XmlNodeType.Element, "LabelProvider", null);
    2321      lblProvInfo.InnerText = "ContinuousLabelProvider";
    2422
    25       XmlAttribute idFormat = Xdoc.CreateAttribute("format");
     23      XmlAttribute idFormat = document.CreateAttribute("format");
    2624      idFormat.Value = this.format;
    2725
Note: See TracChangeset for help on using the changeset viewer.