Hyperlink h = (Hyperlink)e.getSource();
Composite comp = h.getParent();
for(int i = 0; i < bar.getItemCount(); i++){
if(bar.getItem(i).getControl() != comp) continue;
String txtGroup = bar.getItem(i).getText().trim();
ExpandSelectionEvent exv = new ExpandSelectionEvent(i, h.getIndex(), txtGroup, txtElement);
select(exv);
break;
}
}
};