Bug 302441 [LinkedResources][CommonNavigator] When to show "Files and Folders Operation" dialog on drop
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/LinkedResourcesPreferencePage.java
data.horizontalAlignment = GridData.FILL;
        pageComponent.setLayoutData(data);
        pageComponent.setFont(font);
        final Button enableLinkedResourcesButton = new Button(pageComponent,
                SWT.CHECK);
        enableLinkedResourcesButton.setText(IDEWorkbenchMessages.LinkedResourcesPreference_enableLinkedResources);
        enableLinkedResourcesButton.setFont(font);
        enableLinkedResourcesButton
                .addSelectionListener(new SelectionAdapter() {
                    public void widgetSelected(SelectionEvent e) {
                        boolean enabled = enableLinkedResourcesButton
                                .getSelection();
                        Preferences preferences = ResourcesPlugin.getPlugin()
                                .getPluginPreferences();
                        preferences.setValue(
                                ResourcesPlugin.PREF_DISABLE_LINKING, !enabled);
                        updateWidgetState(enabled);
                        if (enabled) {
                            MessageDialog
                                    .openWarning(
                                            getShell(),
                                            IDEWorkbenchMessages.LinkedResourcesPreference_linkedResourcesWarningTitle,
                                            IDEWorkbenchMessages.LinkedResourcesPreference_linkedResourcesWarningMessage);
                        }
                    }
                });
		createLineSeparatorEditorControls(pageComponent);
        createSpace(pageComponent);
        topLabel = new Label(pageComponent, SWT.NONE);
        topLabel.setText(IDEWorkbenchMessages.LinkedResourcesPreference_explanation);