Bug 126658 [CommonNavigator] [DND] Complete definition of DND API
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentService.java
.get(i);
				deactivatedExtensions[i] = descriptor.getId();
			}
			NavigatorActivationService.getInstance()
					.activateNavigatorExtension(viewerId,
							deactivatedExtensions, false);
		}
		if (activatedDescriptors.size() == 0)
			return NO_DESCRIPTORS;
		return (INavigatorContentDescriptor[]) activatedDescriptors
				.toArray(new NavigatorContentDescriptor[activatedDescriptors
						.size()]);
	}
	public INavigatorContentDescriptor[] deactivateExtensions(
			String[] extensionIds, boolean toEnableAllOthers) {
		Set activatedDescriptors = new HashSet();
		final String viewerId = viewerDescriptor.getViewerId();
		NavigatorActivationService.getInstance().activateNavigatorExtension(
				viewerId, extensionIds, false);
		if (toEnableAllOthers) {
			NavigatorContentDescriptor[] descriptors = CONTENT_DESCRIPTOR_REGISTRY
					.getAllContentDescriptors();
			List descriptorList = new ArrayList(Arrays.asList(descriptors));
			for (int descriptorIndx = 0; descriptorIndx < descriptors.length; descriptorIndx++)
				for (int extId = 0; extId < extensionIds.length; extId++)
					if (descriptors[descriptorIndx].getId().equals(
							extensionIds[extId]))
						descriptorList.remove(descriptors[descriptorIndx]);
			String[] activatedExtensions = new String[descriptorList.size()];
			for (int i = 0; i < descriptorList.size(); i++) {