Bug 95423 M7 JDT Open Type Dialog Issues With Multiple 'Identical' Projects
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionComponent.java
try {
					IMemento memento= XMLMemento.createReadRoot(new StringReader(setting));
					fFilterActionGroup.restoreState(memento);
				} catch (WorkbenchException e) {
				}
			}
			IWorkingSet ws= fFilterActionGroup.getWorkingSet();
			if (ws != null) {
				fScope= JavaSearchScopeFactory.getInstance().createJavaSearchScope(ws, true);
			} else {
				fScope= SearchEngine.createWorkspaceScope();
			}
			fFilterActionGroup.fillViewMenu(viewMenu);
		}
	}
	private void disposeComponent() {
		if (fFilterActionGroup != null) {
			XMLMemento memento= XMLMemento.createWriteRoot("workingSet"); 
			fFilterActionGroup.saveState(memento);
			fFilterActionGroup.dispose();
			StringWriter writer= new StringWriter();
			try {
				memento.save(writer);
				fSettings.put(WORKINGS_SET_SETTINGS, writer.getBuffer().toString());
			} catch (IOException e) {
				
			}
		}
	}
}