net.sf.jsequnit.jseq.sdedit
Class SdeditTextDiagram
java.lang.Object
net.sf.jsequnit.jseq.sdedit.SdeditTextDiagram
- All Implemented Interfaces:
- th.co.edge.jseq.Diagram
public class SdeditTextDiagram
- extends Object
- implements th.co.edge.jseq.Diagram
Can be used to transform an activation list (i.e. a list of method calls)
into the sdedit syntax for sequence diagrams.
- Author:
- jacek.ratzinger
Constructor Summary |
SdeditTextDiagram(th.co.edge.jseq.ActivationList activationList)
Create an instance of the textual description for sequence diagrams. |
Method Summary |
void |
save(File file)
Saves the textual representation suitable for
the Quick Sequence Diagram Editor (sdedit). |
String |
toString()
|
SdeditTextDiagram
public SdeditTextDiagram(th.co.edge.jseq.ActivationList activationList)
- Create an instance of the textual description for sequence diagrams.
- Parameters:
activationList
- The list of activations (i.e. message flows between objects).
save
public void save(File file)
throws IOException
- Saves the textual representation suitable for
the Quick Sequence Diagram Editor (sdedit).
- Specified by:
save
in interface th.co.edge.jseq.Diagram
- Parameters:
file
- The txt file to write the textual sequence diagram to.
- Throws:
IOException
- if any problems occurs during file access.
toString
public String toString()
- Specified by:
toString
in interface th.co.edge.jseq.Diagram
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.