if (fProviderViewer == null) updateListDependencies(); else fProviderViewer.setSelection(new StructuredSelection(provider), true);
	private void restoreFromPreferences() {		boolean enabled= fStore.getBoolean(PreferenceConstants.EDITOR_FOLDING_ENABLED);		fFoldingCheckbox.setSelection(enabled);		updateCheckboxDependencies();				String id= fStore.getString(PreferenceConstants.EDITOR_FOLDING_PROVIDER);		Object provider= fProviderDescriptors.get(id);		if (provider != null) {			if (fProviderViewer == null)				updateListDependencies();			else				fProviderViewer.setSelection(new StructuredSelection(provider), true);		}	}