Bug 256516 [TabbedProperties] TabbedPropertySheetPage to allow some options
bundles/org.eclipse.ui.views.properties.tabbed/src/org/eclipse/ui/views/properties/tabbed/TabbedPropertySheetPage.java
List elements = tabbedPropertyViewer.getElements();
		if (elements != null && elements.size() > 0) {
			ITabDescriptor[] tabDescriptors = (ITabDescriptor[]) elements
					.toArray(new ITabDescriptor[0]);
			return tabDescriptors;
		}
		return new ITabDescriptor[] {};
	}
	
	/**
	 * Set the currently selected tab to be that of the provided tab id.
	 * 
	 * @param id
	 *            The string id of the tab to select.
	 * @since 3.5
	 */
	public void setSelectedTab(String id) {
		List elements = tabbedPropertyViewer.getElements();
		if (elements != null && elements.size() > 0) {
			for (Iterator i = elements.iterator(); i.hasNext();) {
				ITabDescriptor tabDescriptor = (ITabDescriptor) i.next();
				if (tabDescriptor.getId() != null &&
						tabDescriptor.getId().equals(id)) {
					tabbedPropertyViewer.setSelection(new StructuredSelection(
							tabDescriptor), true);
				}
			}
		}
	}
}