Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zest Sequence Diagrams(Adding vertical labels to a Zest sequence diagram)
Zest Sequence Diagrams [message #1449434] Tue, 21 October 2014 10:50
Vinny Vallarine is currently offline Vinny VallarineFriend
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!!!
}
...
...
Previous Topic:Doubt about save at MultiPageEditor and drag drop a graphic within another
Next Topic:[HELP] Creating an element in the canvas by double clicking an palette element
Goto Forum:
  


Current Time: Fri Apr 26 22:02:37 GMT 2024

Powered by FUDForum. Page generated in 0.03328 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top