Bug 305161 Dynamic Path Variable ui.ide API review
Dynamic Path Variable ui.ide API review
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/ImportTypeDialog.java
if (variableCombo.getSelectionIndex() == (variableCombo.getItemCount() -1))
						editVariables();
					else
						selectVariable(variableCombo.getItem(variableCombo.getSelectionIndex()));
				}
			});
			setupVariableContent();
			variableCheckbox.setSelection(variable != null);
			if (variable != null)
				selectVariable(variable);
			else
				selectVariable(preferredVariable);
		}
		
		if (linkIsOnlyChoice) {
			currentSelection = IMPORT_LINK;
			parent.getShell().setText(IDEWorkbenchMessages.ImportTypeDialog_titleFilesLinking);
		}
		alwaysPerformThisOperation = new Button(parent, SWT.CHECK);
		alwaysPerformThisOperation.setText(linkIsOnlyChoice? IDEWorkbenchMessages.ImportTypeDialog_alwaysUseLocationWhenLinkingFiles: IDEWorkbenchMessages.ImportTypeDialog_alwaysPerformThisOperation);
		gridData = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
		gridData.horizontalIndent = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
		alwaysPerformThisOperation.setLayoutData(gridData);
		refreshSelection();
		return composite;
	}
	protected Control createMessageArea(Composite parent) {
		Composite composite = new Composite(parent, 0);
		GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true);
 		composite.setLayoutData(gridData);