Hi,

I'd like to implement a graphical viewer for UML sequence diagrams using
Topcased graphical editor. I have the source code for the entire Topcased
project, but I'm not sure where to start from it. What I need is an API that
I can use to draw lifeline, messages, combined fragments etc. in a certain
order. I think I need to use the org.topcased.modeler.uml.sequencediagram
package together with some packages to simply display the sequence diagram
as a GEF/draw2d figure. I tried to play a little bit with the source code
and was able to display some figures from org.topcased.draw2d.figures (in
particular the WomanFigure and the ManFigure), but I was not able to display
a LifelineFigure or SequenceDiagramFigure in the same way. After resolving
all java.lang.NoClassDefFoundError by adding the appropriate jar files to my
project, I ended up with the "java.lang.SecurityException: SHA1 digest error
for com/ibm/icu/text/Bidi.class". I'm not sure how to resolve this at the
moment, but I'm also not sure how would I continue when I am finally able to
display an empty sequence diagram without errors. (The error actually occurs
after the empty window pops out for a second.)

If anyone has any suggestions for how to approach the problem of
programmatically drawing a sequence diagram with Topcased or knows a better
tool to approach this problem (with Topcased or with something else), please
let me know. I was also thinking about importing UML files into Topcased and
manually drag them into the diagram, but that did not see to work so far.

Thank you. Attached is the source code that I used to display the
WomanFigure and the ManFigure, but that could not correctly display the
sequence diagram.

Zuzana

Attachment: Draw.java
Description: Binary data

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to