}
public String getTooltip(Activity el) {
// CUSTOM: hide unused fields
LabelGenerator lg = JaWEManager.getInstance().getLabelGenerator();
Map toDisplay = new SequencedHashMap();
putKeyValue(toDisplay, el.get("Id"));
putKeyValue(toDisplay, el.get("Name"));
// putKeyValue(toDisplay, el.get("Description"));
// putKeyValue(toDisplay, el.get("Performer"));
// putKeyValue(toDisplay, el.getStartMode());
// putKeyValue(toDisplay, el.getFinishMode());
// putKeyValue(toDisplay, el.get("Priority"));
putKeyValue(toDisplay, el.get("Limit"));
if (el.getTransitionRestrictions().size() > 0) {
TransitionRestriction tr = (TransitionRestriction) el.getTransitionRestrictions().get(0);
putKeyValue(toDisplay, tr.getJoin());
putKeyValue(toDisplay, tr.getSplit());
} else {
toDisplay.put(lg.getLabel(new Join(null)), "");
toDisplay.put(lg.getLabel(new Split(null)), "");
}
fillTypePartOfTooltip(el, toDisplay);
return makeTooltip(toDisplay);
// END CUSTOM
}