EsriGraphicList list = getEsriGraphicList();
boolean ret = false;
graphicIndex = -1;
if (list != null) {
OMGraphic omg = list.selectClosest(e.getX(), e.getY(), 4);
if (omg != null) {
// graphicIndex has to be set before selectEntry
// called.
graphicIndex = list.indexOf(omg);
selectEntry(omg);