Zest Sequence Diagrams [message #1449434] |
Tue, 21 October 2014 10:50 |
Vinny Vallarine Messages: 9 Registered: June 2012 |
Junior Member |
|
|
I'm using org.eclipse.zest.custom.seqeunce package and I'd like to add custom labels to the left most Y - Axis of the chart. Specifically, I want to add timestamps to the vertical timeline at the leftmost part of the chart to indicate the time in which each message was called across each lifeline. I have all the data I need but just need some hints as to how I could display the timestamp to the corresponding message call. Sample code below to show the simple usage of the Zest sequence diagrams...
...
...
this.chart = new UMLSequenceChart(parent, SWT.BORDER);
this.builder = new SequenceChartBuilder(this.chart, "Starting Actor");
int index = 0;
for (MyDataElement element : myModel.getElements()) {
this.builder.makeCall(Integer.toString(index++),
"something");
//Add timestamp label here at the proper location in the chart!!!
}
...
...
|
|
|
Powered by
FUDForum. Page generated in 0.04000 seconds