use of org.eclipse.titan.log.viewer.views.msc.ui.core.Enqueued in project titan.EclipsePlug-ins by eclipse.
the class MSCModel method addEnqueued.
private MSCNode[] addEnqueued(final String ref, final String target, final String name, final String time, final int occurrence) {
Enqueued message = new Enqueued();
Lifeline source = this.lifelines.get(ref);
Lifeline dest = this.lifelines.get(target);
if ((source == null) || (dest == null)) {
return new MSCNode[] {};
}
source.setCurrentEventOccurrence(occurrence);
dest.setCurrentEventOccurrence(occurrence);
message.setStartLifeline(source);
message.setEndLifeline(dest);
message.setName(name);
return new MSCNode[] { message, new TimeStampNode(occurrence, time) };
}
Aggregations