Bug 259179 [TabbedProperties] TabbedPropertySheetPage extensibility option
bundles/org.eclipse.ui.views.properties.tabbed/src/org/eclipse/ui/views/properties/tabbed/TabbedPropertySheetPage.java
TabContents tab = null;
			ITabDescriptor descriptor = (ITabDescriptor) selection
					.getFirstElement();
			if (descriptor == null) {
				
				hideTab(currentTab);
			} else {
				
				
				
				tab = (TabContents) descriptorToTab.get(descriptor);
				if (tab != currentTab) {
					hideTab(currentTab);
				}
				Composite tabComposite = (Composite) tabToComposite.get(tab);
				if (tabComposite == null) {
					tabComposite = createTabComposite();
					tab.createControls(tabComposite,
						TabbedPropertySheetPage.this);
					
					tabToComposite.put(tab, tabComposite);
				}
				
				tab.setInput(tabbedPropertyViewer.getWorkbenchPart(),
					(ISelection) tabbedPropertyViewer.getInput());
				
				storeCurrentTabSelection(descriptor.getLabel());
				if (tab != currentTab) {
					showTab(tab);
				}