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/LibrariesWorkbookPage.java
case IDX_ADDVAR: 
			libentries= openVariableSelectionDialog(null);
			break;
		case IDX_ADDADV: 
			AdvancedDialog advDialog= new AdvancedDialog(getShell());
			if (advDialog.open() == AdvancedDialog.OK) {
				libentries= advDialog.getResult();
			}
			break;
		case IDX_ATTACH: 
			List selElements= fLibrariesList.getSelectedElements();
			CPListElement selElement= (CPListElement) selElements.get(0);				
			SourceAttachmentDialog dialog= new SourceAttachmentDialog(getShell(), fWorkspaceRoot, selElement.getClasspathEntry());
			if (dialog.open() == SourceAttachmentDialog.OK) {
				selElement.setSourceAttachment(dialog.getSourceAttachmentPath(), dialog.getSourceAttachmentRootPath());
				fLibrariesList.refresh();
				fClassPathList.refresh();
			}
			break;
		case IDX_EDIT: 
			editEntry();
			return;
		}
		if (libentries != null) {
			int nElementsChosen= libentries.length;					
			
			List cplist= fLibrariesList.getElements();
			List elementsToAdd= new ArrayList(nElementsChosen);
			
			for (int i= 0; i < nElementsChosen; i++) {