use of org.eclipse.titan.log.viewer.views.msc.ui.core.SetverdictUnknown in project titan.EclipsePlug-ins by eclipse.
the class MSCModel method addSetVerdict.
private MSCNode[] addSetVerdict(final String ref, final String name, final String time, final int occurrence) {
MSCNode[] temp = new MSCNode[2];
if ((ref == null) || (ref.length() == 0)) {
SetverdictUnknown setverdictUnknown = new SetverdictUnknown(occurrence, name);
setverdictUnknown.setName(name);
temp[0] = setverdictUnknown;
} else {
// Get life line
Lifeline tmpLifeline = this.lifelines.get(ref);
if (tmpLifeline == null) {
return new MSCNode[] {};
}
SetverdictComp setverdictComp = new SetverdictComp(occurrence, tmpLifeline, name);
setverdictComp.setName(name);
temp[0] = setverdictComp;
}
// Create and add Time Stamp
temp[1] = new TimeStampNode(occurrence, time);
return temp;
}
Aggregations