name = items[childID].getText(); int index = name.indexOf('&'); if (index > 0) { name = name.substring(0, index) + name.substring(index + 1); }
name = stripMnemonic(items[childID].getText());
		public void getName(AccessibleEvent e) {			String name = null;			int childID = e.childID;			if (childID >= 0 && childID < items.length) {				name = items[childID].getText();				int index = name.indexOf('&');				if (index > 0) {					name = name.substring(0, index) + name.substring(index + 1);				}			} else if (childID == items.length + CHEVRON_CHILD_ID) {				name = SWT.getMessage("SWT_ShowList"); //$NON-NLS-1$			} else if (childID == items.length + MINIMIZE_CHILD_ID) {				name = minimized ? SWT.getMessage("SWT_Restore") : SWT.getMessage("SWT_Minimize"); //$NON-NLS-1$ //$NON-NLS-2$			} else if (childID == items.length + MAXIMIZE_CHILD_ID) {				name = maximized ? SWT.getMessage("SWT_Restore") : SWT.getMessage("SWT_Maximize"); //$NON-NLS-1$ //$NON-NLS-2$			}			e.result = name;		}