Bug 127861 [DataBinding] Mark API provisional
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/contentprovider/test/StructuredContentProviderTest.java
import org.eclipse.swt.widgets.Shell;
/**
 * Tests UpdatableSetContentProvider, ComputableValue, ControlUpdator, UpdatableFunction,
 * and ConvertingSet.
 * 
 * <p>
 * This test displays a dialog with user-editable list of Doubles. It allows the
 * user to select a math function to apply to the set, and displays the result in a
 * new list. A line of text along the bottom of the dialog displays the sum of the elements
 * from the transformed set. Although this dialog is rather silly, it is a good example of 
 * a dialog where a lot of things can change from many directions.
 * </p>
 * 
 * <p>
 * An UpdatableSetContentProvider is used to supply the contents each ListViewer. 
 * ControlUpdators
 * 
 * </p>
 * 
 * @since 3.2
 */
public class StructuredContentProviderTest {
	/**
	 * Top-level shell for the dialog
	 */
	private Shell shell;
	
	/**
	 * Random number stream. Used for the "add" button.
	 */