public void Init()
 {
     base.Init();
     elementCreator=new InteractionElementCreator(xmiDocument,documentBuilder);
     parentElement=CollaborationElementStub.CreateCollaborationElementStub(this.xmiDocument);
     MSC.DiagramName=DIAGRAM_NAME;
 }
 public XmlElement AddInteractionElement(XmlElement parentElement,InteractionElementCreator elementCreator)
 {
     XmlElement newInteractionElement=elementCreator.CreateInteractionElement(parentElement);
     return newInteractionElement;
 }
 public XmlElement AddInteractionElement(XmlElement parentElement)
 {
     InteractionElementCreator elementCreator=new InteractionElementCreator(xmiDocument,this);
     XmlElement newInteractionElement=AddInteractionElement(parentElement, elementCreator);
     return newInteractionElement;
 }