Element child2b = factory.element("child2b");
parent2.addContent(child1b);
parent2.addContent(child2b);
// Create the root element and add content
final ODOMElement rootElement = (ODOMElement) factory.element("root");
rootElement.addContent(parent2);
rootElement.addContent(parent1);
// Create the content provider for the dialog.
final class TestContentProvider