if (event.getGanttDiagramEventUrlAddOns() != null) {
eventUrl = eventUrl.concat(event.getGanttDiagramEventUrlAddOns());
}
final MultiLanguageString diagramEventName = event.getGanttDiagramEventName();
String eventName = diagramEventName == null ? "" : diagramEventName.getContent();
String paddingStyle = "padding-left:" + event.getGanttDiagramEventOffset() * PADDING_LEFT_MULTIPLIER + "px";
if (event.getGanttDiagramEventIdentifier().equals(selectedEvent)
|| (selectedEventObject != null && event.getGanttDiagramEventIdentifier().equals(
selectedEventObject.toString()))) {