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
extends ViewPart
	implements ISetSelectionTarget, IResourceNavigator {
	private TreeViewer viewer;
	private IDialogSettings settings;
	private IMemento memento;
	private FrameList frameList;
	private ResourceNavigatorActionGroup actionGroup;
	private ResourcePatternFilter patternFilter = new ResourcePatternFilter();
	private ResourceWorkingSetFilter workingSetFilter =
		new ResourceWorkingSetFilter();
	private boolean linkingEnabled;
	/** 
	 * Settings constant for section name (value <code>ResourceNavigator</code>).
	 */
	private static final String STORE_SECTION = "ResourceNavigator"; 
	/** 
	 * Settings constant for sort order (value <code>ResourceViewer.STORE_SORT_TYPE</code>).
	 */
	private static final String STORE_SORT_TYPE = "ResourceViewer.STORE_SORT_TYPE";