ITabbedPropertySheetPageContributor newContributor = getTabbedPropertySheetPageContributor(structuredSelection.getFirstElement()); i.next(); while (i.hasNext()) { newContributor = getTabbedPropertySheetPageContributor(i.next()); if (newContributor == null || !newContributor.getContributorId().equals(selectionContributorId)) {