* Creates the menu used by ImageDropDown from the ImageDropDownItems
*/
private void createMenu() {
// Creates the ImageDropDownItemChangeListener which listens for
// tooltip text changes and ImageDropDownItem enablement changes.
final ImageDropDownItemChangeListener changeListener =
new ImageDropDownItemChangeListener() {
public void imageDropDownItemChanged(
ImageDropDownChangeEvent event) {
if (event.getType() ==
ImageDropDownChangeEvent.ENABLEMENT) {
handleEnablementChange(event);