Bug 22274 [DND] Navigator should not sync selection with editor on drag
If I have two resources A and B open in their editors, and I try to drag A into B from the navigator view, I cannot. The navigator will flip the active active editor to A, making it impossible to drop on B. It is possible to avoid this by checking the dragsourceevent.doit value during the dragStart callback, and storing this value until the drag finished callback has occurred. If it is true, then a native drag is about to start. The mousedown or selection event should come after the dragStart event, and "Link navigator selection to active Editor" can be suppressed.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/ResourceNavigator.java
}
			String sortType = uiSettings.get(STORE_SORT_TYPE);
			if (sortType != null && sortType.length() > 0) {
				settings.put(STORE_SORT_TYPE, sortType);
				uiSettings.put(STORE_SORT_TYPE, "");			
			}
		}
	}
	/**
	 * Restores the saved filter settings.
	 */
	private void restoreFilters() {
		IMemento filtersMem = memento.getChild(TAG_FILTERS);
		
		if (filtersMem != null) {  
			IMemento children[] = filtersMem.getChildren(TAG_FILTER);
			
			if (children[0].getString(TAG_IS_ENABLED) != null) { 
				ArrayList selectedFilters = new ArrayList();
				ArrayList unSelectedFilters = new ArrayList();
				for (int i = 0; i < children.length; i++) {
					if (children[i].getString(TAG_IS_ENABLED).equals(String.valueOf(true)))
						selectedFilters.add(children[i].getString(TAG_ELEMENT));
					else 
						unSelectedFilters.add(children[i].getString(TAG_ELEMENT));
				}
				/* merge filters from Memento with selected = true filters from plugins
				 * ensure there are no duplicates & don't override user preferences	 */
				List pluginFilters = FiltersContentProvider.getDefaultFilters();				
				for (Iterator iter = pluginFilters.iterator(); iter.hasNext();) {