Bug 302277 [LinkedResources] Linked Resources properties page: 'Convert' button is dangerous
N20100207-2000 The new Linked Resources properties page has a dangerous 'Convert' button, which immediately applies changes and offers no way to revert. The Cancel button should work (i.e. only apply changes when the user clicks OK), or at least the button should be called Convert... and ask the user *before* it changes anything. In the dialog, the text should not be editable and the Return key should close the dialog (e.g. via StyledText#setEditable(false)).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/LinkedResourceEditor.java
GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        layout.marginWidth = 0;
        layout.marginHeight = 0;
        pageComponent.setLayout(layout);
        GridData data = new GridData(GridData.FILL_BOTH);
        data.widthHint = SIZING_SELECTION_PANE_WIDTH;
        pageComponent.setLayoutData(data);
        pageComponent.setFont(font);
        
        Label variableLabel = new Label(pageComponent, SWT.LEFT);
        variableLabel.setText(NLS
				.bind(IDEWorkbenchMessages.LinkedResourceEditor_descriptionBlock,
						fProject != null? fProject.getName():new String()));
        data = new GridData();
        data.horizontalAlignment = GridData.FILL;
        data.horizontalSpan = 2;
        variableLabel.setLayoutData(data);
        variableLabel.setFont(font);
		fTree = new TreeViewer(pageComponent, SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION);
		fTree.addSelectionChangedListener(new ISelectionChangedListener() {
			public void selectionChanged(SelectionChangedEvent event) {
				updateSelection();
			}
		});
		data = new GridData(GridData.FILL_BOTH);
		data.heightHint = fTree.getTree().getItemHeight() * 10;
		data.horizontalSpan = 1;
		fTree.getTree().setLayoutData(data);
		fTree.getTree().setLinesVisible(true);