th.co.edge.jseq.argouml
Class ArgoUMLDiagram

java.lang.Object
  extended by th.co.edge.jseq.argouml.ArgoUMLDiagram
All Implemented Interfaces:
Diagram

public class ArgoUMLDiagram
extends java.lang.Object
implements Diagram

An ArgoUMLDiagram is a Diagram that can be used to generate sequence diagrams in .zargo format, readable by the tool ArgoUML.

The current version has only been verified to work with version 0.12 of ArgoUML, and it is a known problem that it does not work with version 0.24 (SourceForge issue 2046485).


Constructor Summary
ArgoUMLDiagram(org.w3c.dom.Document argo, ru.novosoft.uml.model_management.MModel model, java.util.List<SequenceDiagram> diagrams)
          Creates a new ArgoUMLDiagram.
 
Method Summary
 void save(java.io.File file)
          Writes this ArgoUMLDiagram to file in .zargo format, that is, as a zipped set of XML model files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface th.co.edge.jseq.Diagram
toString
 

Constructor Detail

ArgoUMLDiagram

public ArgoUMLDiagram(org.w3c.dom.Document argo,
                      ru.novosoft.uml.model_management.MModel model,
                      java.util.List<SequenceDiagram> diagrams)
Creates a new ArgoUMLDiagram.

Parameters:
argo - an XML Document defining the contents of this file
model - an MModel representation of an XMI document defining the parts of this UML model
diagrams - a list of SequenceDiagrams, one per root activation
Method Detail

save

public void save(java.io.File file)
          throws java.io.IOException
Writes this ArgoUMLDiagram to file in .zargo format, that is, as a zipped set of XML model files.

Specified by:
save in interface Diagram
Parameters:
file - the File to write to
Throws:
java.io.IOException - if the diagram could not be saved


Copyright © 2008 Edge Software, Co., Ltd.. All Rights Reserved.