Bug 7487 Classpath variable edit error message wrong
Using build 2002-01-09 on Windows 2000 From the prefrerence dialog, I opened the page Java > Classpath Variables. I selected the ECLIPSE_HOME variable and pressed Edit. The content came up as ECLIPSE_HOME D:/eclipse-sdk/2001-12-04/eclipse I started editing the path by removing the 2001-12-04 section D:/eclipse-sdk//eclipse At that point I got the following red error message at the bottom of the dialog !VariableCreationDialogerror.invalidpath!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.LayoutUtil;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField;
import org.eclipse.jdt.internal.ui.wizards.swt.MGridLayout;
public class VariableCreationDialog extends StatusDialog {
		
	private IDialogSettings fDialogSettings;
	
	private StringDialogField fNameField;
	private StatusInfo fNameStatus;	
	
	private StringButtonDialogField fPathField;
	private StatusInfo fPathStatus;
	private SelectionButtonDialogField fDirButton;
		
	private CPVariableElement fElement;
	
	private List fExistingNames;
		
	public VariableCreationDialog(Shell parent, CPVariableElement element, List existingNames) {
		super(parent);
		if (element == null) {
			setTitle(NewWizardMessages.getString("VariableCreationDialog.titlenew")); 
		} else {
			setTitle(NewWizardMessages.getString("VariableCreationDialog.titleedit")); 
		}
		
		fDialogSettings= JavaPlugin.getDefault().getDialogSettings();