if(e.isAddedCell(index - 1)) { showDetails(lastModified); }
showDetails(lastAdded);
  public void valueChanged(GraphSelectionEvent e)  {    int index = e.getCells().length;    Object lastModified = e.getCells()[index - 1];    if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge)    {      if(e.isAddedCell(index - 1))      {        showDetails(lastModified);      }    }    else if(lastModified != null)    {      log.debug("unhandled selection:" + lastModified.getClass());    }  }