fPathField.setButtonLabel(JavaPlugin.getResourceString(PATH + ".button"));
fPathField.setButtonLabel(JavaPlugin.getResourceString(PATH + ".file.button"));  fDirButton= new StringButtonDialogField(adapter); fDirButton.setButtonLabel(JavaPlugin.getResourceString(PATH + ".dir.button"));
	public VariableCreationDialog(Shell parent, CPVariableElement element, List existingNames) {		super(parent);		setTitle(JavaPlugin.getResourceString((element == null) ? TITLE_NEW : TITLE_EDIT));				fDialogSettings= JavaPlugin.getDefault().getDialogSettings();				fElement= element;				fNameStatus= new StatusInfo();		fPathStatus= new StatusInfo();				NewVariableAdapter adapter= new NewVariableAdapter();		fNameField= new StringDialogField();		fNameField.setDialogFieldListener(adapter);		fNameField.setLabelText(JavaPlugin.getResourceString(NAME + ".label"));		fPathField= new StringButtonDialogField(adapter);		fPathField.setDialogFieldListener(adapter);		fPathField.setLabelText(JavaPlugin.getResourceString(PATH + ".label"));		fPathField.setButtonLabel(JavaPlugin.getResourceString(PATH + ".button"));				fExistingNames= existingNames;				if (element != null) {			fNameField.setText(element.getName());			fPathField.setText(element.getPath().toString());			fExistingNames.remove(element.getName());		} else {			fNameField.setText("");			fPathField.setText("");		}	}