Bug 22662 IClasspathContainerPage needs more context [build path]
When adding a container to the buildpath of a project, it would be nice to have more context in the page. At least the classpath of the project that the container will be added to. This way one can handle inter container dependencies (fe this library can be used in combination with this base library, etc)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ClasspathContainerDefaultPage.java
fEntryField.setDialogFieldListener(new IDialogFieldListener() {
			public void dialogFieldChanged(DialogField field) {
				validatePath();
			}
		});
		validatePath();
	}
	private void validatePath() {
		StatusInfo status= new StatusInfo();
		String str= fEntryField.getText();
		if (str.length() == 0) {
			status.setError(NewWizardMessages.getString("ClasspathContainerDefaultPage.path.error.enterpath")); 
		} else if (!Path.ROOT.isValidPath(str)) {
			status.setError(NewWizardMessages.getString("ClasspathContainerDefaultPage.path.error.invalidpath")); 
		} else {
			IPath path= new Path(str);
			if (path.segmentCount() == 0) {
				status.setError(NewWizardMessages.getString("ClasspathContainerDefaultPage.path.error.needssegment")); 
			}
		}
		updateStatus(status);
	}
	/* (non-Javadoc)
	 * @see IDialogPage#createControl(Composite)
	 */
	public void createControl(Composite parent) {
		Composite composite= new Composite(parent, SWT.NONE);
		
		LayoutUtil.doDefaultLayout(composite, new DialogField[] { fEntryField }, true);
		LayoutUtil.setHorizontalGrabbing(fEntryField.getTextControl(null));