shell = theShell;
javaProject = theJavaProject;
BuildPathAdapter adapter = new BuildPathAdapter();
classPathList =
new CheckedListDialogField(null, null, new LabelProvider());
classPathList.setDialogFieldListener(adapter);
//TODO tets if everything works as expected
IWorkbenchPreferenceContainer root = (IWorkbenchPreferenceContainer)JavaPlugin.getWorkspace().getRoot().getParent();
//SWTUtil.createPreferenceLink((IWorkbenchPreferenceContainer));
libraryPage = new LibrariesWorkbookPage( classPathList, root);