{
public void onClick(ClickEvent clickEvent)
{
String diagramUrl = currentDefinition.getDiagramUrl();
if (currentDefinition != null && executedActivities != null) {
HistoryActivityDiagramEvent eventData = new HistoryActivityDiagramEvent(currentDefinition, executedActivities);
if(diagramUrl !=null && !diagramUrl.equals(""))
{
createDiagramWindow();
controller.handleEvent(
new Event(LoadHistoryDiagramAction.ID, eventData)