String label= NewWizardMessages.getFormattedString("OutputLocationDialog.location.label", entryToEdit.getPath().makeRelative().toString());  OutputLocationAdapter adapter= new OutputLocationAdapter();
	public OutputLocationDialog(Shell parent, CPListElement entryToEdit) {		super(parent);		setTitle(NewWizardMessages.getString("OutputLocationDialog.title"));		fContainerFieldStatus= new StatusInfo();				String label= NewWizardMessages.getFormattedString("OutputLocationDialog.location.label", entryToEdit.getPath().makeRelative().toString());				OutputLocationAdapter adapter= new OutputLocationAdapter();		fContainerDialogField= new StringButtonDialogField(adapter);		fContainerDialogField.setLabelText(label);		fContainerDialogField.setButtonLabel(NewWizardMessages.getString("OutputLocationDialog.location.button"));		fContainerDialogField.setDialogFieldListener(adapter);				fCurrProject= entryToEdit.getJavaProject().getProject();				IPath outputLocation= (IPath) entryToEdit.getAttribute(CPListElement.OUTPUT);		if (outputLocation == null) {			fContainerDialogField.setText(""); //$NON-NLS-1$		} else {			fContainerDialogField.setText(outputLocation.makeRelative().toString());		}	}