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.
bundles/org.eclipse.ui.views.properties.tabbed/src/org/eclipse/ui/views/properties/tabbed/TabbedPropertySheetPage.java
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyComposite;
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry;
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory;
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyTitle;
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyViewer;
import org.eclipse.ui.part.IContributedContentsView;
import org.eclipse.ui.part.Page;
import org.eclipse.ui.views.properties.IPropertySheetPage;
import org.eclipse.ui.views.properties.PropertySheet;
/**
 * A property sheet page that provides a tabbed UI.
 * 
 * @author Anthony Hunter
 */
public class TabbedPropertySheetPage
	extends Page
	implements IPropertySheetPage, ILabelProviderListener {
	
	private TabbedPropertyComposite tabbedPropertyComposite;
	private TabbedPropertySheetWidgetFactory widgetFactory;
	private ITabbedPropertySheetPageContributor contributor;
	private TabbedPropertyRegistry registry;
	private ITabbedPropertySheetPageContributor selectionContributor = null;
	/**
	 * The currently active contributor id, which may not match the contributor
	 * id from the workbench part that created this instance.
	 */