Bug 125874 [create script] 'Select All' doesn't work
20060131 - Create script - Press 'Select All', nothing happens
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/history/RefactoringHistoryControl.java
public final RefactoringDescriptorProxy[] getSelectedDescriptors() {
		final Set set= new HashSet();
		final ISelection selection= fHistoryViewer.getSelection();
		if (selection instanceof IStructuredSelection) {
			final IStructuredSelection structured= (IStructuredSelection) selection;
			for (final Iterator iterator= structured.iterator(); iterator.hasNext();) {
				final RefactoringHistoryNode node= (RefactoringHistoryNode) iterator.next();
				if (node instanceof RefactoringHistoryEntry) {
					final RefactoringHistoryEntry entry= (RefactoringHistoryEntry) node;
					set.add(entry.getDescriptor());
				}
			}
		}
		return (RefactoringDescriptorProxy[]) set.toArray(new RefactoringDescriptorProxy[set.size()]);
	}
	/**
	 * Handles the check state changed event.
	 */
	protected void handleCheckStateChanged() {
		final int total= RefactoringHistoryControl.this.getInput().getDescriptors().length;
		if (total > 0 && fControlConfiguration.isCheckableViewer())
			fHistoryPane.setText(NLS.bind(RefactoringUIMessages.RefactoringHistoryControl_selection_pattern, new String[] { getHistoryPaneText(), String.valueOf(getCheckedDescriptors().length), String.valueOf(total)}));
		else
			fHistoryPane.setText(getHistoryPaneText());
	}
	/**
	 * Handles the selection changed event.
	 * 
	 * @param selection
	 *            the new selection