Bug 302441 [LinkedResources][CommonNavigator] When to show "Files and Folders Operation" dialog on drop
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/NavigatorDropAdapter.java
final String[] names = (String[]) data;
         
         
        
        Display.getCurrent().asyncExec(new Runnable() {
            public void run() {
                getShell().forceActive();
                CopyFilesAndFoldersOperation operation = new CopyFilesAndFoldersOperation(
                        getShell());
				
				int type;
				ImportTypeDialog dialog = new ImportTypeDialog(getShell(), getCurrentOperation(), names, target);
				dialog.setResource(target);
				if (dialog.open() == Window.OK)
					type = dialog.getSelection();
				else
					type = ImportTypeDialog.IMPORT_NONE;
				switch(type) {
					case ImportTypeDialog.IMPORT_COPY:
						operation.copyFiles(names, target);
						break;
					case ImportTypeDialog.IMPORT_VIRTUAL_FOLDERS_AND_LINKS:
						if (dialog.getVariable() != null)
							operation.setRelativeVariable(dialog.getVariable());
						operation.createVirtualFoldersAndLinks(names, target);
						break;
					case ImportTypeDialog.IMPORT_LINK:
						if (dialog.getVariable() != null)
							operation.setRelativeVariable(dialog.getVariable());
						operation.linkFiles(names, target);