Bug 119085 [TabbedProperties] need getters and setters for the current Tab
We have some use cases where we need to remember the current active Tab and Section and later in the lifecycle we need to select those again. Currently there is no API for this functionality.
tests/org.eclipse.ui.tests.views.properties.tabbed/src/org/eclipse/ui/tests/views/properties/tabbed/TabbedPropertySheetPageDynamicTest.java
.getInvisibleRoot().getChildren();
		assertEquals(treeNodes.length, 11);
	}
	protected void tearDown() throws Exception {
		super.tearDown();
		/**
		 * Bug 175070: Make sure the views have finished painting.
		 */
		while (Display.getCurrent().readAndDispatch()) {
			
		}
		/**
		 * Deselect everything in the Tests view.
		 */
		setSelection(new DynamicTestsTreeNode[] {});
	}
	/**
	 * Set the selection in the view to cause the properties view to change.
	 * 
	 * @param selectedNodes
	 *            nodes to select in the view.
	 */
	private void setSelection(DynamicTestsTreeNode[] selectedNodes) {
		StructuredSelection selection = new StructuredSelection(selectedNodes);
		dynamicTestsView.getViewer().setSelection(selection, true);
	}
	/**
	 * Get the list of tabs from the tabbed properties view.
	 * 
	 * @return the tab list.