ClassDiagramNode undo/redo

Sorry, I can’t reproduce this with the ClassDiagramNode in our sample app. Can you?

i’m modified ClassDiagramNode source code of demo samples.



i’m commeted at “the Attributes section” source lines.



===================================================

ClassDiagramNode.cs

===================================================



public void Initialize() {



// the “Attributes” section

// ClassDiagramNodeItemList atts = MakeList(“Attributes”);

// atts.List.Add(MakeItem(star, “attribute1”));

// atts.List.Add(MakeItem(doc, “attr2”));

// atts.List.Add(MakeItem(doc, “attribute3”));

// this.MyBody.Add(atts);



// the “Operations” section

ClassDiagramNodeItemList ops = MakeList(“Operations”);

ops.List.Add(MakeItem(star, “operation1”));

ops.List.Add(MakeItem(doc, “operation2”));

ops.List.Add(MakeItem(doc, “op3”));

ops.List.Add(MakeItem(doc, “operation4”));

ops.List.Add(MakeItem(doc, “operation5”));

this.MyBody.Add(ops);



this.ItemWidth = 100;

}