Bug 77492 ToolBar example tab should have image+text example
This would demonstrate the RIGHT style, and emphasize that ToolItems are not subject to the same image-or-text-but-not-both constraint that Buttons and Labels must follow.
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ToolBarTab.java
/*
				 * The drop down arrow was selected.
				 */
				if (visible) {
					
					setMenuVisible(false);
				} else {	
					
					final ToolItem toolItem = (ToolItem) event.widget;
					final ToolBar  toolBar = toolItem.getParent();
					
					Rectangle toolItemBounds = toolItem.getBounds();
					Point point = toolBar.toDisplay(new Point(toolItemBounds.x, toolItemBounds.y));
					menu.setLocation(point.x, point.y + toolItemBounds.height);
					setMenuVisible(true);
				}
			} else {
				/*
				 * Main area of drop down tool item selected.
				 * An application would invoke the code to perform the action for the tool item.
				 */
			}
		}
		private void setMenuVisible(boolean visible) {
			menu.setVisible(visible);
			this.visible = visible;
		}
	}
}