Invoked when dropdown or neighboring arrow is clicked.
if (e.detail == SWT.ARROW) {
// arrow clicked, show menu
ToolItem item = (ToolItem) e.widget;
Rectangle rect = item.getBounds();
Point pt = item.getParent().toDisplay(new Point(rect.x, rect.y));
mMenu.setLocation(pt.x, pt.y + rect.height);
mMenu.setVisible(true);
} else {
// button clicked
Log.i("ddms", mDropdown.getText() + " Pressed");
}