Bug 218360 [Servicability] Fix places that pop up message dialogues under ISafeRunnable
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
}
		getTreeViewer().setSelection(new StructuredSelection(lastSuccessfulNode));
		currentPage.setVisible(true);
	}
	/**
	 * Selects the saved item in the tree of preference pages. If it cannot do
	 * this it saves the first one.
	 */
	protected void selectSavedItem() {
		IPreferenceNode node = findNodeMatching(getSelectedNodePreference());
		if (node == null) {
			IPreferenceNode[] nodes = preferenceManager.getRootSubNodes();
			ViewerFilter[] filters = getTreeViewer().getFilters();
			for (int i = 0; i < nodes.length; i++) {
				IPreferenceNode selectedNode = nodes[i];
				
				for (int j = 0; j < filters.length; j++) {
					if (!filters[j].select(this.treeViewer, preferenceManager
							.getRoot(), selectedNode)) {
						selectedNode = null;
						break;
					}
				}
				
				if (selectedNode != null) {
					node = selectedNode;
					break;
				}
			}
		}